ARCH Components
summary
Google's Android Architecture Components are used: ViewModel survives config changes and includes an onCleared hook to dispose resources; LiveData only notifies active observers with setValue (main thread) vs postValue (background), and observeForever must be removed to avoid leaks; Room validates SQL at compile time (entities, DAOs, database) and integrates with LiveData. Implementation claim: simple, low overhead (~600–700 methods across libs), covers ~80–90% of app use cases, and noticeably reduces lifecycle boilerplate.
AI-written summary · about
chapters (13)
- 0:00Start
- 0:36About Me
- 1:09Agenda
- 2:04Importance of Architecture
- 3:56Common Patterns
- 4:24The Clean Architecture
- 8:56Without LCA Components
- 10:11With LCA Components
- 13:17Simplified Activity Life Cycle
- 15:24Without the ARCH ViewModel
- 16:04With the ARCH ViewModel
- 18:12ARCH ViewModel - IMPORTANT
- 19:48LiveData
related talks
20mArchitecture Components
47mAndroid Architecture Component
31mAndroid Architecture Components
21mAndroid Achritecture Components Introduction
44mAndroid Architecture Components, a New Way to Build Apps
28mInternals of Android Architecture Components
48mArchitecture Components – Behind the Scenes
38mAndroid Architecture Components
