Android MVVM Architecture
Enforces strict layering, dependency direction, and separation of concerns for clean Android MVVM architectures.
Provides architectural rules and boundary constraints for Android applications implementing the MVVM pattern. It enforces proper dependency inversion, prevents ViewModel memory leaks by banning Android framework references, ensures repositories encapsulate caching and domain error translation, and guarantees clean separation between data coordination and UI rendering for maintainable, testable codebases.
主な機能
01Standardizes repository patterns with abstracted data sources and domain error mapping
02Prevents memory leaks by prohibiting Android framework references in ViewModels
030 GitHub stars
04Enforces strict separation between UI presentation and ViewModel state logic
05Guarantees proper dependency inversion with consumer-defined repository interfaces
06Guides screen-level ViewModel scoping and multi-step flow state management
ユースケース
01Reviewing pull requests for architectural consistency and dependency direction in Android apps
02Refactoring tightly coupled Android code to eliminate framework leaks and improve testability
03Architecting new Android features with clean ViewModel and repository layer boundaries