Android Database & Persistence

0•

Implements robust Android local data persistence, offline-first architectures, schema migrations, and DataStore caching.

Provides strict architectural rules and best practices for local data persistence and offline behavior in Android applications. It guides AI-driven development in choosing between Jetpack DataStore, Room, SQLDelight, and filesystem storage, executing atomic multi-statement transactions, safely managing database schema migrations, and handling offline write queues and sync conflict resolution without risking user data loss.

주요 기능

01Guarantees safe schema migrations and schema exports without destructive release fallbacks
02Implements resilient offline-first write patterns and tombstone-based delete sync
030 GitHub stars
04Enforces correct storage selection across DataStore, Room databases, and filesystem blobs
05Enforces atomic multi-statement transactions to prevent partial write corruptions
06Mandates reactive, observable read streams and blocks main-thread database operations

사용 사례

01Architecting offline-first Android applications with local caching and reliable sync queues
02Creating and verifying Room or SQLDelight database schema migrations
03Refactoring legacy SharedPreferences implementations into type-safe Jetpack DataStore wrappers