MVWTF: Demystifying Architecture Patterns
summary
Compares MVC MVP MVVM and MVI with concrete code, a runnable task‑list sample and a Github link so you can inspect the implementation and copy it tonight. Demonstrates Kotlin Android code using LiveData and ViewModel, explains presenter memory‑leak pitfalls and rotation workarounds, and shows a Redux‑style store and reducer for predictable state. Recommends MVVM for most apps, uses MVI for complex state flows, and includes a working sample and tradeoffs rather than just buzzwords.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 0:51Which one should I use
- 1:32Why do we need them
- 2:32One simple truth
- 3:51Breaking up our code
- 6:13ModelView Components
- 9:17Implementation
- 21:05Reduce
- 22:06Store
- 25:26Recap
- 27:09What should I use
- 28:33Be consistent
related talks
30mArchitecting an app with MVP and ViewModels
28mHands-on Android Architecture & Architecture Components
29mModern Android Development using MVI architecture
36mSimple MVI Architecture for Android
35mBuilding better Android apps with MVP
03mInterview with Gema Socorro
01h 07mA Modern Approach to Android App Architecture
42mTestable Android Architecture
