You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems NetworkBoundResource works on the bases that, the data is stored in the DB. I have data I want to fetch from an API, however this data won't be stored in the DB as it does not need to live longer than the activity's lifecycle. How could we still use NetworkBoundResource in this case?
The text was updated successfully, but these errors were encountered:
as in this the single source of true is database so you need to write your own NetwrokBoundResource and add data source to api livedatas.
or remove data in database each time,
i know it's been past but worth for others to read
It seems NetworkBoundResource works on the bases that, the data is stored in the DB. I have data I want to fetch from an API, however this data won't be stored in the DB as it does not need to live longer than the activity's lifecycle. How could we still use NetworkBoundResource in this case?
The text was updated successfully, but these errors were encountered: