Putting Work Manager to Work
summary
Claims that WorkManager gives a single, cross-API solution for reliable background work and shows real usage in a grocery app: it runs in production since alpha, supports API level 14, uses persisted jobs with constraints and chaining, unique work policies for deduplication, retries and backoff, and periodic jobs but with a minimum 15-minute interval. Notes practical gotchas: the provided executor is effectively single-threaded causing synchronous behavior and cancelAll can unintentionally remove third‑party work.
AI-written summary · about
chapters (22)
- 0:00Intro
- 2:12Options
- 3:02Restrictions
- 4:46The One With All The Features
- 6:49Implementing Work Manager - Basic
- 9:05Worker Class - Under The Hood
- 13:42One Time Work Request
- 13:53Periodic Work Request
- 15:49The One With The TAGS
- 16:38TAGS - Sample
- 17:39The One With The Constraints
- 19:05Constraints - Sample
- 21:07The One With All The Chaining
- 23:20The One Where It All Made Sense
- 24:28Complex chains/combines
- 30:24Existing Work Policy
- 31:23Query Status
- 32:25Query Work Info By ID
- 33:22Query Work Info By Unique Name
- 35:19Tips/Gotchas
- 41:59Summary - Under The Hood
- 43:46The One With The Endgame



