Clean App Design with Architecture Components
summary
Claims that Android Architecture Components (Lifecycle, ViewModel, LiveData, Room) slot into an existing clean architecture to reduce boilerplate and improve testability. Demonstrates using Lifecycle owners and observers to broadcast state, swapping or coexisting a ViewModel persists state with a presenter to survive rotations, wrapping repository outputs in Room returns LiveData to make the database observable, and shows these pieces cut coupling and make UI-state persistence and testing measurably easier.
AI-written summary · about
chapters (8)
- 0:00Intro
- 0:40Why Care
- 3:46Android Activity
- 13:14Life Cycle
- 14:38View Model
- 16:30Live Data
- 17:10Room
- 22:47Conclusion
related talks
39mClean app design with Architecture Components
47mClean app design with Architecture Components
44mAndroid Architecture Components, a New Way to Build Apps
38mAndroid Architecture Components
47mAndroid Architecture Component
44mARCH Components
20mArchitecture Components
41mViewModels, LiveData and Lifecycles, oh my!
