Create offline-first apps
summary
Offline-first apps store and serve from a local data source, sync with a network source, and resolve conflicts; the implementation uses Kotlin flows for observable reads, suspend functions for async writes, and a repository that maps SQL-backed entities to network models and to app models. Two sync strategies are compared: pull-on-navigation versus a push/replica baseline with server notifications. Conflict resolution defaults to last-write-wins and samples live in the Now In Android repo.
AI-written summary · about
chapters (4)
related talks
36m“Make your app work perfectly offl…” — Connection Interrupted
37mIdemnity in the Data Layer
23mDesigning for Disconnection- The Mental Model of Offline Apps
38m"Offline" is not an error
39mIndemnity in the Data Layer
38mThe real case of offline-first app: Farmer App…
39mOffline Applications With Architecture Components, Retrofit, Room, Dagger, RxJava
42mAndroid Application Architecture
