0Pricing
Android Academy · Lesson

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

  1. When to Use WorkManager
  2. Creating a Worker
  3. Constraints and Scheduling
  4. Periodic and Chained Work
← Back to Android Academy