First of all, thanks a lot for your great library!
I have a refresh mechanism that fetches data from API, caches it into a DB, and refresh the list based on DB items.
I set itemAdapters in a observe function of a LiveData which gets a List of items in DB. but after set(), the list is not getting updated. (it blinks means refreshed, but nothing changes) . What am i missing here?
I also call the updateItems() function in onResume and when fragment transactions happen, List would update!
First of all, thanks a lot for your great library!
I have a refresh mechanism that fetches data from API, caches it into a DB, and refresh the list based on DB items.
I
set
itemAdapters in a observe function of a LiveData which gets a List of items in DB. but afterset()
, the list is not getting updated. (it blinks means refreshed, but nothing changes) . What am i missing here?I also call the
updateItems()
function inonResume
and when fragment transactions happen, List would update!