Add Offline caching in the home page
Closed this issue · 3 comments
justdvnsh commented
Room has been added to the project. Now, we need offline caching for the homescreen. The method would be pretty straight forward.
The very time network request is made and then first saved into the database. Then the data on the homescreen would actually be coming from the database everytime instead of network directly.
This would help us achieve 2 things ->
- User would only the loading screen for the first time he enters the app.
- Since the page is cached, we can make the network request and update the home screen before the user enters the app (using work manager or something like that)
krishnachaitanya0107 commented
Hey @justdvnsh , can you please assign this issue to me ? . I wish to try out this issue if it is still open .
justdvnsh commented
@krishnachaitanya0107 Happy coding