~/talk

Room and Workers. Spoiler alert: With Coroutines

Talkat droidcon Toronto 2019 · on Wednesday, 2019-11-13· [android, kotlin]

Explains how Room’s suspend DAO functions move database work off the UI thread by switching executors and keep begin/commit transactions so inserts don’t freeze the app, how Room + Kotlin Flow streams turn queries into observable, cold streams that emit updates, why migrations still often require table‑by‑table SQL, and how WorkManager’s CoroutineWorker exposes a suspending doWork with automatic retries while periodic jobs have a 15 minute minimum interval and battery/network constraints.

AI-written summary · about

  1. 0:00Start
  2. 1:26Coroutines are like a thread
  3. 5:18SQLite as a solution
  4. 9:24Room transactions
  5. 9:55Room: What is really going on?
  6. 14:41Room: Suspendable is okay, but...?
  7. 20:09Non-periodic workers
~/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.