~/talk

Android Coroutines: How to manage async tasks in Kotlin

Talkat Android Summit 2020 · 2020-10-08..10-09· [android]
slides:none on file

Covers Android’s move to Kotlin coroutines as the recommended async model, shows WorkManager vs Guava/RxJava vs a CoroutineWorker example, explains Room’s suspend APIs and why libraries must inject dispatchers for testability, demonstrates converting callbacks with callbackFlow adapters, details lifecycle-ktx suspending APIs where launchWhenStarted suspends not cancels, previews StateFlow vs LiveData tradeoffs, and describes SharedFlow’s sharing operator and started options (SharedFlow not released yet).

AI-written summary · about

  1. 0:00Intro
  2. 2:03Kotlin Coroutines
  3. 3:29Coroutines scopes
  4. 7:50Educate
  5. 8:12Equal Corruptions
  6. 11:14Corrupting Adapter
  7. 12:31Kotlin Flow
  8. 23:50State Flow in Data Binding
  9. 25:11Shared Flow
  10. 26:10Sharing Operator
  11. 29:19Questions
  12. 35:42Difference between stateflow on each and stateflow collect
~/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.