stkent
10/22/2019, 2:14 PMonCreate(...) {
scope.launch {
asyncThing()
}
}
onResume(...) {
scope.launch {
// code that depends on asyncThing() having completed
}
}
Is there a way to "join" such that the onResume work does not start until the asyncThing
is done?kingsley
10/22/2019, 2:26 PMkingsley
10/22/2019, 2:27 PMscope.launch
and join
it in onResumestkent
10/22/2019, 2:31 PM