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

[QUESTION] What if we don't need to use a database when using NetworkBoundResource? #10

Open
RJ-Clegg opened this issue Aug 3, 2017 · 1 comment

Comments

@RJ-Clegg
Copy link

RJ-Clegg commented Aug 3, 2017

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?

@chiftenj
Copy link

chiftenj commented Jul 9, 2020

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

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

2 participants