~/talk

Practical WorkManager

TalkinJapaneseat DroidKaigi 2019 · 2019-02-07..02-08· [android]
links:none on file
slides:none on file

Describes using Android WorkManager to prefetch images and improve perceived load times: metadata is synced to SQLite, a unique periodic work (≈24h) with Wi‑Fi and charging constraints enqueues CDN fetches that are cached with Glide, supporting back to SDK 19. Covers practical requirements for workers—idempotency, exponential retries, a 10‑minute timeout, best‑effort cancellation—and recommends testing with WorkManager test helpers; result reported: average UI image load gap reduced from 0.71s to 0.17s.

AI-written summary · about

  1. 0:00WorkManager overview
  2. 1:06Photo delay in A app
  3. 2:17Network delay vs UX
  4. 4:48Why WorkManager adopted
  5. 7:23WorkManager basics
  6. 8:33Implementation sequence
  7. 10:04Job constraints
  8. 12:44WorkManager tips
  9. 13:28WorkManager idempotency
  10. 15:41WorkManager cancellation
  11. 17:30Testing WorkManager
  12. 21:15UX improvements
  13. 22:59Future challenges
  14. 24:47Summary & Q&A
~/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.