~/talk

Embrace the WorkManager

Talkat droidCon Berlin 2019 · 2019-07-01..07-03· [android]
slides:none on file

WorkManager reaches stable in 2019 and targets API 14+, offering Worker, CoroutineWorker, and RxWorker (runtime 2.0.1, 2.1 RC adds features). It guarantees deferred work execution, supports chains with input mergers, constraints (network/Wi‑Fi), unique work policies keep/replace/append, and periodic tasks (no append, no succeed/fail states). Testing includes synchronous test helpers and a test driver for time travel; custom Configuration and delegating WorkerFactory enable Dagger injection. WorkRequests persist (10 KB data limit) and default retention is about seven days.

AI-written summary · about

  1. 0:00Introduction to WorkManager
  2. 3:44What is WorkManager
  3. 9:29WorkManager classes and workers
  4. 15:36Retrieving work status
  5. 18:47Canceling and stopping work
  6. 21:13Unique work policies
  7. 23:59Periodic work details
  8. 28:23Testing workers
  9. 32:42Customizing WorkManager
  10. 37:19Dependency injection with Dagger
  11. 43:03Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.