I have my android application which is not build to work offline, so it is reliant on network connection/data.
App makes a lot of network calls updating the api with new set of data.
I am making changes in it to make it work offline.
Approach I am thinking I will create a Room data base in which I will save the retrofit requests and when there is connection I will pull them from the data base and send it to the api.
does that sound right? Is there any other better approach, where I can save requests when there is no connection and when there is connection send those saved requests to the server.
Also can we save requests in Room database
I am not intending on doing database synchronisation with BE(API) and BE(API) deals with requests.
your suggestions are valuable
Thanks R