~/talk

Kotlin Coroutines: Threading Made Easy in Android

Talkat droidcon Americas 2020 · 2020-11-16..11-17· [android, kotlin]
slides:none on file

Explains how Kotlin Coroutines replace AsyncTask and callbacks to make Android threading concise and performant, showing Retrofit endpoints converted to suspend functions and repositories rewritten to return values directly. Demonstrates launching 100,000 coroutines to prove light weight, compares async vs withContext for parallel vs single-value calls, builds a mini social-feed that fetches albums todos and posts concurrently, and shows create/post and comments flows working live.

AI-written summary · about

  1. 0:00Introduction to Coroutines
  2. 1:59Speaker background
  3. 8:45What are Coroutines
  4. 15:13Coroutine builders
  5. 20:56Dispatchers explained
  6. 24:34Suspend functions
  7. 26:21Sequential vs concurrent
  8. 31:59Cancelling coroutines
  9. 35:13Building a social app
  10. 50:52Rewriting repositories
  11. 1:08:44Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.