Simple MVI Architecture for Android
summary
A concrete MVI implementation for Android that maps View events to pure intent functions, applies them with a scan-based model store and exposes immutable state via a replay operator. Uses Kotlin data classes, RxJava with RxRelay and RxBindings, and a Google to‑do app as a running example. Claims: forces upfront handling of async, cancelation and sync errors; shows how to merge UI observables, produce new state copies, and subscribe views to the model; sample repo contains working code.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 3:39MVI vs MVVM
- 9:00Functional programming in MVI
- 12:49Model state for to-do
- 15:59Processing intents
- 22:41Building the model store with RX Java
- 27:55View events from UI
- 31:50View subscribes to model
- 35:19Summary and GitHub
related talks
36mSimple MVI Architecture for Android
18mMVI made for Android
29mModern Android Development using MVI architecture
35mModel View Intent, Embracing Reactive UI's
39mSimple MVI: A LiveData Based MVI Approach
58mHow to cook a well-done MVI for Android
38mHands On MvRx: Building Real Apps
42mHands on MvRx: Building Real Apps
