-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating the cache #32
Comments
Hi, here is a part of HomeRepoImpl in home feature :
in this part of code |
Yes, it stores in DB once since it checks pokemons.isEmpty() and if it is not empty, it always emit data from database and never sync with server again, as I understand. |
I misunderstood your question. What you said is exactly right. |
Hi thank you for this helpful sample, I see in your repositories you get data from cache, and if it is not null or empty, you emit that data. Is there somewhere in the code that you update cache?
The text was updated successfully, but these errors were encountered: