Android MVVM Architecture
Enforces clean MVVM architecture boundaries, ViewModel best practices, and decoupled repository patterns in Android applications.
The Android MVVM Architecture skill establishes structural rules and clean dependency boundaries for Android apps utilizing ViewModels and repositories. It prevents architectural rot and memory leaks by ensuring ViewModels stay decoupled from Android framework components and UI navigation, while guiding repositories to cleanly encapsulate data sources and define interfaces where they are consumed. This skill is essential for building modular, testable, and maintainable Android applications with Jetpack ViewModel and Kotlin or Java.
Key Features
01Guarantees proper ViewModel scoping per screen or navigation graph flow to prevent state bleed
02Enforces strict ViewModel isolation by prohibiting Android framework references and UI-specific logic
03Abstracts transport errors and HTTP status codes into domain-level failure models
04Structures repository interfaces at consumption boundaries to ensure true dependency inversion
050 GitHub stars
06Decouples data sources (remote, local, cache) from repository coordination logic for effortless unit testing
Use Cases
01Building new Android features with Jetpack ViewModel and reactive repository layers
02Refactoring legacy Android screens to follow testable, robust MVVM architecture patterns
03Decoupling network APIs, Room databases, and UI layers in multi-module Android apps