Develop Your App with Lots of "Flow"
summary
Builds a musical quiz app that plays intervals to help memorize references, implemented with Kotlin coroutines Flow and StateFlow and SharedFlow to publish view state and UI events, following an MVI unidirectional pipeline. Maps UI events → actions → processor (side effects, DB, network) → reducer → new view state, compares Flow to RxJava, finds single‑event (toast) tricky and suggests channels or clearing state. App is work in progress but the Flow-based pipeline works for ordered async UI events.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 4:24Learning musical intervals app
- 7:35MVI architecture basics
- 17:42Unidirectional data flow
- 27:34Handling events and status
- 31:30MVI vs MVVM
- 48:10Q&A
related talks
49mRiding the state flow
01h 12mA-Z of Kotlin Flow
37mFlowing Things, Not So Strange in the MVI World
40mCompose Without Flow: Unidirectional State with Snapshots and Coroutines
28mComposing Magic with MVI and Kotlin StateFlow
26mApp Architecture Then and Now: Lessons from the DroidKaigi Conference App History
49mKotlin Reactive Programming Patterns
40mFlowing Things, not so strange in the MVI world
