'How I build a sync Mechanism for local db to remote db in Android Applicaiton?
I added features that users can use our service(POS) in an offline mood.but when the user goes on online all the data he inserts (sell product) are synced with the server database what is the new and best mechanism for android?
Solution 1:[1]
It's a very open question.
Have you looked at https://github.com/dropbox/Store
A Store is a class that simplifies fetching, sharing, storage, and retrieval of data in your application. A Store is similar to the Repository pattern while exposing an API built with Coroutines that adheres to a unidirectional data flow.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yuri Schimke |
