~/talk

Flowing Things, not so strange in the MVI world

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [android]
slides:none on file

Shows a concrete migration path from an Rx MVI implementation to Kotlin Coroutines Flow, converting Retrofit Single/Observable calls to suspend functions for single results and Flow builders for streams, implementing a custom merge/publish using channelFlow, and replacing BehaviorSubject with conflatedBroadcastChannel for state. Demonstrates flatMap/flatMapMerge equivalents, collect as subscribe, context preservation and exception transparency, lifecycle scoping via ViewModelScope and structured concurrency, and a runnable demo app wired through repository → reducer → render that actually works end to end.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:39Coroutines and Flow basics
  3. 9:33Channels versus Flows
  4. 13:18Model View Intent pattern
  5. 15:47Converting actions to results
  6. 24:19Reducing results to state
  7. 27:29Plugging pieces together
  8. 29:16Migration to Flow summary
  9. 30:18Why use Flow?
  10. 32:28Q&A and acknowledgments
~/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.