~/talk

We Suspend This Program for an Important Announcement

Talkat Conference for Kotliners 2020 · on Friday, 2020-06-05· [kotlin, android]
slides:none on file

Android deprecates sync task in API level R (Android 11) and recommends Kotlin coroutines as a replacement; coroutines claim structured concurrency, cancellation, and lightweight suspension. Examples include converting WorkManager workers from blocking or listenable futures to a coroutine worker (reducing ~20 lines to ~3), Room and Retrofit offering suspend APIs, adapters for CompletableFuture and Tasks, and a demo where Android Studio 4.1 Database Inspector shows live DB edits updating a Flow in the UI. Expect state flow and shared flow for multi-subscriber sharing.

AI-written summary · about

  1. 0:00Intro
  2. 0:23AsyncTask
  3. 0:54Kotlin coroutines
  4. 2:14Develop Android apps with
  5. 4:28WorkManager
  6. 8:17Room Database queries
  7. 8:44Your API Make it main-safe
  8. 9:57Your API Injecting dispatchers
  9. 10:29Coroutine adapters For common future APIs
  10. 12:30Kotlin Flow
  11. 15:01LiveData vs Flow
  12. 15:57LiveData vs State Flow State holder vs
  13. 16:55lifecycleScope and the pausing dispatcher
  14. 18:25callbackFlow Hot source, cold flow
  15. 21:29Thank you!
  16. 26:12Coroutines learning
~/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.