cuongpm / android-minimal-todo

📝📝 A to-do app with minimal features using: Kotlin, MVVM, Room, Dagger2 and Material Design.
MIT License
16 stars 6 forks source link

Design data layer with offline-first mechanism #2

Open cuongpm opened 6 years ago

cuongpm commented 6 years ago

Offline-first mechanism

Design repository pattern to manage 3 data sources: Memory cache, local data source and remote data source

image