~/talk

Flowing Things, not so strange in the MVI world

Talkat Android Makers 2020 · 2020-04-20..04-21· [kotlin, reactive-programming]
slides:none on file

Migrates an Rx MVI implementation to Kotlin coroutines Flow by swapping Singles for suspend Retrofit calls, turning action streams into Flow, and exposing state via a conflated broadcast channel (BehaviorSubject analogue). Implements a custom channelFlow merge operator that launches two coroutines to collect and forward values, uses viewModelScope and lifecycleScope for structured concurrency, and keeps reducers pure. The demo repo shows the conversion working end-to-end and highlights when to prefer sequential suspend functions versus reactive Flow streams.

AI-written summary · about

  1. 0:00Start
  2. 1:46CHAPTER ONE THE FLOW
  3. 9:49CHAPTER TWO THE BATTLE OF ACTIONS
  4. 12:20CHAPTER THREE VANISHING OF Rx FLOWABLES
  5. 29:48Summary
  6. 30:37Common Questions
~/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.