~/talk

Kotlin Flows and Channels for Android

Talkat GOTO Chicago 2020 · 2020-04-27..04-29· [android]
slides:none on file

Compares Kotlin channels as nonblocking queues used for explicit send/receive with Flows as cold lazy streams that only run when collected, and argues Flows are safer and more resource efficient because channels are hot and can consume resources early. Demonstrates an Android app that builds a ListView of users by composing Room/retrofit-style sources into a repository and use case, using zip + map + onEach + flowOn and asLiveData or lifecycleScope collection, and it streams correctly in the demo.

AI-written summary · about

  1. 0:00Intro
  2. 0:37Challenges
  3. 2:23Coroutines
  4. 5:10Channels
  5. 8:53Flow
  6. 12:51Flows & Channels Android demo
~/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.