There are a obvious issue we might have is: if we modify some entities such as close an issue, then user quickly refresh but cache data is returned in which the entity is old (from last refresh), therefore the modification will be reverted as cache data.
To resolve this, for any execution which modifies data, we must evict all retrofit cache by calling cache.evictAll()
There are a obvious issue we might have is: if we modify some entities such as close an issue, then user quickly refresh but cache data is returned in which the entity is old (from last refresh), therefore the modification will be reverted as cache data.
To resolve this, for any execution which modifies data, we must evict all retrofit cache by calling
cache.evictAll()