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

Download and cache all factsheet info upon load #17

Open
EddieCurtis opened this issue Mar 17, 2015 · 0 comments
Open

Download and cache all factsheet info upon load #17

EddieCurtis opened this issue Mar 17, 2015 · 0 comments

Comments

@EddieCurtis
Copy link
Contributor

Instead of caching each individual search, we can download all of the factsheet info in one go (maybe in an AsyncTask on app load) and cache that instead. The only issue this would cause is we then need to find a way to parse the aliases ourselves, but that shouldn't be too hard. I guess it would all be loaded into a Map where different keys point to the same object.

Full factsheet download: http://tripbot.tripsit.me/api/tripsit/getAllDrugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants