Android Clean Architecture

0•

Implements robust Clean Architecture patterns for Android and Kotlin Multiplatform projects to ensure scalable and maintainable codebases.

This skill provides specialized guidance for structuring Android and Kotlin Multiplatform (KMP) applications using Clean Architecture principles. It facilitates the creation of modular projects with clear separation between domain, data, and presentation layers, ensuring the domain layer remains pure Kotlin. By enforcing dependency inversion and the UseCase/Repository pattern, it helps developers manage complex business logic, integrate local and remote data sources using Room or SQLDelight, and implement efficient dependency injection with Hilt or Koin.

Key Features

01Implementation of UseCase and Repository patterns with pure Kotlin domain models
020 GitHub stars
03Standardized module structure for Android and KMP projects
04Standardized error handling and cross-layer data mapping
05Dependency injection configuration for Hilt and Koin
06Data layer integration with Room, SQLDelight, and Ktor

Use Cases

01Refactoring existing code into clean domain, data, and presentation layers
02Bootstrapping a new Android or KMP project with a scalable module architecture
03Integrating network and local database sources while maintaining domain isolation