Skip to content
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

Get cached data and update at the same time #100

Open
giaza opened this issue Mar 26, 2021 · 0 comments
Open

Get cached data and update at the same time #100

giaza opened this issue Mar 26, 2021 · 0 comments

Comments

@giaza
Copy link

giaza commented Mar 26, 2021

Hi James,
Akavache has an interesting method called GetAndFetchLatest that returns two times: first with cached data if present, then it updates cache from backend and returns a second time with renewed data.
So your listview get populated quickly with cached data and updated as soon as new data is available.
How could I do something similar with Monkey Cache?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant