Answer the question
In order to leave comments, you need to log in
How to store data on Android?
I am writing a small application. There was a need to store data (I use firebase).
Will this implementation be correct:
There is access to the Internet - when data is added to the application, they are immediately sent to the server. If there is no access to the Internet, they are saved locally, and when accessing the Internet, they are synchronized with the server.
If yes - how to store data locally? sqlite?
And how to implement data synchronization? Those. so that each time the Internet is restored, not to transmit the same information that is already on the server?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question