## What problem does it solve?
This Skill solves the challenge of building reliable offline-capable data layers for Android apps by using Room for local persistence, seed data from assets on first run, and safe migration paths, ensuring users can access and interact with their data even without a network.
## Core Features & Use Cases
- Offline-first persistence using Room and Kotlin Flows to keep UI responsive.
- Seed initial data from assets on first run to bootstrap historical data.
- Data migration path from legacy lottery_data.json to Room schema.
- Background syncing via WorkManager with graceful backoff and retry.
- Retrofit-based API with DTO-to-entity mapping to ensure domain integrity.
### Quick Start
- Ensure Android Studio is installed and open the project.
- Build and run the app on a device or emulator; on first launch, seed data from assets and migrate legacy data if present.
- Trigger a sync by toggling network connectivity or wiring WorkManager to run periodically.