zak.taccardi
02/18/2021, 7:57 PMService
in Android? We’re currently using override fun onHandleWork(intent: Intent)
in a JobIntentService
and I was wondering if there was a more idiomatic way to make that function Coroutine friendly, as opposed to using runBlocking { }
in therezak.taccardi
02/18/2021, 8:02 PMlouiscad
02/18/2021, 8:07 PMIan Lake
02/18/2021, 8:40 PMOrhan Tozan
02/18/2021, 9:18 PMAhmed Ibrahim
02/19/2021, 11:21 AMServiceLifecycleDispatcher
which is designed to be used when it's impossible to use LifecycleService
https://developer.android.com/reference/androidx/lifecycle/ServiceLifecycleDispatcher