~/talk

Embrace the WorkManager

Talkat App Builders Switzerland 2019 · 2019-04-29..04-30· [android]
slides:none on file

WorkManager is Android’s stable 2019 solution for guaranteed deferrable background work, using JobScheduler / AlarmManager / BroadcastReceiver under the hood to honor constraints like network, battery and storage and to run one‑off, chained or periodic work with tagging and unique work policies (KEEP/REPLACE). API options include plain Worker and CoroutineWorker, and apps can supply a custom WorkerFactory to integrate Dagger2. Testing uses a synchronous executor via WorkManager test init helpers such as WorkManagerTestInitHelper. Limitations: no initial delay or chaining for periodic work and class‑name refactors require a custom factory.

AI-written summary · about

  1. 0:00Introduction to WorkManager
  2. 2:35What is WorkManager
  3. 6:39WorkManager features and guarantees
  4. 10:41Worker classes explained
  5. 17:30Work status and tracking
  6. 24:17Periodic work limitations
  7. 29:15Custom configurations
  8. 35:12Testing WorkManager
  9. 38:08Migrating from other libraries
  10. 41:27New features and conclusion
~/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.