spierce7
10/22/2018, 10:51 PMCoroutineContext
than this? I used to be able to do CoroutineContext(Dispatcher)
, but that doesn't seem to work anymore.spierce7
10/22/2018, 10:51 PMprivate val coroutineScope: CoroutineScope = object : CoroutineScope {
private val context = Platform.createApiCoroutineDispatcher()
override val coroutineContext: CoroutineContext
get() = context
}