From AlarmManager to WorkManager
summary
Compares the older AlarmManager/JobScheduler/GCM and the third‑party Android‑Job library with WorkManager and gives concrete tradeoffs: Android‑Job supports exact and daily jobs and runs on many devices (used at Square and Twitter), WorkManager is backported to API 14 and adds its own scheduling engine, chaining, async ListenableWorker and coroutine support, better testing hooks and DI with WorkerFactory. Recommends running both in parallel for migration and moving to WorkManager as the long‑term solution.
AI-written summary · about
chapters (13)
- 0:00Introduction and background
- 1:50Evolution of Android background jobs
- 9:18Android Job library overview
- 11:27WorkManager setup and basics
- 13:33WorkManager vs Android Job differences
- 17:13Dependency injection with WorkManager
- 22:09Chaining workers in WorkManager
- 24:14Testing workers in WorkManager
- 27:06Observing worker lifecycle
- 28:15WorkManager scheduling engine
- 29:17Asynchronous API with ListenableWorker
- 32:25Migrating from Android Job to WorkManager
- 35:56WorkManager future and Q&A








