Denys
05/19/2020, 2:06 PMMark Murphy
05/19/2020, 2:12 PMCoroutineScope
.Denys
05/19/2020, 2:15 PMOG
05/19/2020, 2:21 PMCoroutineScope(SupervisorJob() + Dispatchers.Main)
Then in all places where you need access to this scope you either just inject it into the constructor of that class (try to avoid field injection) or you just go through the application context to get the reference.Orhan Tozan
05/19/2020, 5:13 PMOG
05/19/2020, 5:53 PM