Fix logging reference to PagingData
This commit is contained in:
@@ -39,7 +39,7 @@ class RecipesFragment : Fragment() {
|
|||||||
lifecycleScope.launchWhenResumed {
|
lifecycleScope.launchWhenResumed {
|
||||||
Timber.d("onViewCreated: coroutine started")
|
Timber.d("onViewCreated: coroutine started")
|
||||||
viewModel.recipeFlow.collectLatest {
|
viewModel.recipeFlow.collectLatest {
|
||||||
Timber.d("onViewCreated: received $it")
|
Timber.d("onViewCreated: received update")
|
||||||
recipesPagingAdapter.submitData(it)
|
recipesPagingAdapter.submitData(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user