wasyl
09/17/2019, 7:48 AMcoroutineScope
and lifecycleScope
and similarly defined to be active until the Lifecycle[Owner] is destroyed.
. I’m not using coroutines in production yet, so maybe that’s a silly question, but do those scopes suspend if the lifecycle is in stopped state (similarly to LiveData waiting before delivering values)? Is it even possible (and reasonable) with scopes?louiscad
09/17/2019, 10:52 AMwhenStarted
. I'll deprecate most of this split (lifecycle-coroutines
) when AGP 3.6 is released (that fixes Dispatchers.Main
performance issue), keeping only what's not in Lifecycle KTX.wasyl
09/17/2019, 11:25 AMwhen AGP 3.6 is releasedwhat does AGP have to do with
Dispatchers.main
? Does it have something to do with the Dispatchers.main.immediate
thing recently added to one of the androidx libraries (I think)?louiscad
09/17/2019, 12:38 PMwasyl
09/17/2019, 12:39 PMlouiscad
09/17/2019, 12:43 PM@Deprecated
annotations, so you can use it for now.