Why are all the Android WorkManager ktx functions ...
# android
d
Why are all the Android WorkManager ktx functions deprecated, is there any replacement? https://developer.android.com/reference/kotlin/androidx/work/ktx/package-summary
d
Coroutines? lol joking.
d
Joking 🤔?
It's not documented, but there's a
CoroutineWorker
to derive from with
override suspend fun doWork(): Result
, nice no?
d
I (jokingly) implying that WorkManager is not needed in the light of Coroutines.
d
They're two different concepts, WorkManager manages task scheduling in Android when your app is NOT running https://developer.android.com/topic/libraries/architecture/workmanager/basics
☝️ 7
d
@dave08 even if it was killed manually by the user? it doesn't work on Xiaomi mi5 then