zsmb
11/25/2019, 9:47 AMFlow
, and somehow the first time I've encountered the payload
mechanism of RecyclerView
as well.
I assume that the CoroutineScope()
created right there in the Activity
is just done so that it's easy to launch
a coroutine from there? As far as I see that leaves no way to cancel the downloads, so something like https://developer.android.com/topic/libraries/architecture/coroutines#lifecyclescope should probably be used instead.Andy Gibel
11/25/2019, 2:04 PM