nwh
02/26/2019, 9:56 PMmatt tighe
02/26/2019, 11:28 PMCoroutineScope
, and that way they can continue doing their work through onPause
. The fragments are updated through LiveData
nwh
02/26/2019, 11:50 PMlouiscad
02/27/2019, 1:48 AMcreateScope
function of self-made Splitties Lifecycle Coroutines library.nwh
02/27/2019, 2:42 AMlouiscad
02/27/2019, 3:13 AMdelay(arbitraryDelay)
after it in a while (isActive)
loop. To await for a click, you can find to extensions for View
in Splitties Views Coroutines: awaitOneClick()
and visibleUntilClicked { … }
.nwh
02/27/2019, 6:05 PMlouiscad
02/27/2019, 7:46 PM