Simple MVI: A LiveData Based MVI Approach
summary
Claims a minimal MVI implementation that uses LiveData, Kotlin and databinding to create unidirectional flow and immutable state. Demo builds a tiny app where an Add button increments number and an EditText is bound, state is a sealed state hierarchy (loading content error plus one‑time effects), ViewModel reduces actions into new states, and the demo works but is explicitly labeled not production ready because it exposes MutableLiveData and uses simple toast effects; master branch on GitLab shows a more production variant.
AI-written summary · about
chapters (13)
- 0:00Start
- 0:28Introduction
- 1:00Key Definitions
- 1:52Core Concepts
- 3:21A High Level MVI Overview
- 5:16MVI in Android
- 6:24Key Components
- 9:33View Model Responsibilities
- 10:15Model to View
- 16:35View Responsibilities
- 29:32Detailed MVI Implementatie
- 33:01Conclusion
- 36:13Questions?
related talks
41mMVI: a Robust and Modern Architecture
36mSimple MVI Architecture for Android
18mMVI made for Android
36mSimple MVI Architecture for Android
29mModern Android Development using MVI architecture
33mModel-View-Intent for
28mComposing Magic with MVI and Kotlin StateFlow
35mModel View Intent, Embracing Reactive UI's
