Android Data Layer Architect
Implements robust, offline-first data layers for Android and KMP using Repository patterns and Room databases.
This skill provides specialized guidance for architecting the Android data layer, ensuring a clean separation between data sources and the rest of the application. It facilitates the implementation of the Repository pattern as a single source of truth, manages Room local database configurations—including Kotlin Multiplatform (KMP) support—and handles complex offline-first synchronization strategies. By enforcing strict model mapping and error boundary patterns, it prevents implementation details like API DTOs or SQL types from leaking into the UI or domain layers, resulting in more maintainable and testable mobile applications.
주요 기능
01Offline-first synchronization strategies including stale-while-revalidate and outbox patterns
02Layered model mapping between Network DTOs, Database Entities, and Domain models
0372 GitHub stars
04Repository pattern implementation for single-source-of-truth data management
05Standardized error handling and propagation using domain-level exception types
06Room local database setup for both Android-only and Kotlin Multiplatform (KMP) projects
사용 사례
01Refactoring a monolithic codebase to follow Clean Architecture principles with distinct data source boundaries
02Building an offline-first mobile application that requires reliable local caching and background synchronization
03Migrating an existing Android data layer to Kotlin Multiplatform (KMP) to share logic across Android and iOS