Код: Выделить всё
LoadResult.Page(
data = response, // = myRepository.getMyData().cachedIn(viewModelScope)
Код: Выделить всё
lifecycleScope.launch {
viewModel.customers.collectLatest {pagingData ->
myAdapter.submitData(pagingData) // here I dont receive anything
}
}
Подробнее здесь: https://stackoverflow.com/questions/790 ... pose-issue
Мобильная версия