jamesmontemagno/monkey-cache

Get cached data and update at the same time

giaza opened this issue · 0 comments

giaza commented

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