~/talk

Simple MVI: A LiveData Based MVI Approach

Talkat Android Summit 2019 · 2019-08-14..08-15· [android, frontend-architecture]
name:Dan Lowe
links:none on file
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 0:28Introduction
  3. 1:00Key Definitions
  4. 1:52Core Concepts
  5. 3:21A High Level MVI Overview
  6. 5:16MVI in Android
  7. 6:24Key Components
  8. 9:33View Model Responsibilities
  9. 10:15Model to View
  10. 16:35View Responsibilities
  11. 29:32Detailed MVI Implementatie
  12. 33:01Conclusion
  13. 36:13Questions?
~/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.