When to Use WorkManager
Choose the right background work tool.
When to Use WorkManager
WorkManager is the recommended API for deferrable, guaranteed background work on Android. If a task must run eventually, even after the app closes or the device reboots, WorkManager is the tool.
Deferrable and Guaranteed
Two key words define WorkManager's niche:
- Deferrable: it does not need to run right now; it can wait for the right conditions
- Guaranteed: it will run eventually, surviving app exit and reboot
All lessons in this course
- When to Use WorkManager
- Creating a Worker
- Constraints and Scheduling
- Periodic and Chained Work