WorkManager
Dependencies
The main artifact that you will use for adding WorkManager
to your project is android.arch.work:work-runtime
. This contains WorkManager
and its related classes.
There are three additional artifacts that you can elect to use:
-
work-runtime-ktx
provides a Kotlin-specificWorkManager
API -
work-testing
is available for testing your code that usesWorkManager
-
work-firebase
is if yourminSdkVersion
is below 23 and you wish to use Firebase JobDispatcher as the engine forWorkManager
, as opposedAlarmManager
, on older devices
Prev Table of Contents Next
This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.