I am using volley for making server calls to fetch data. But now I want my application to work in offline mode too. So using volley cache is good idea or not and how to use it ? Does it support large JSon data storage ?
Asked
Active
Viewed 834 times
0
-
1I you have not found a working solution, you can refer to my anser at [Android Setup Volley to use from Cache](http://stackoverflow.com/questions/31897189/android-setup-volley-to-use-from-cache/32022946#32022946) – BNK Aug 27 '15 at 01:10
1 Answers
0
Volley has build in cache feature from Queue object you can pick cache by calling .getCache().get(url)

3mpty
- 1,354
- 8
- 16
-
does it store large JSON cacheing ? and For Creating a offline work flow is it a good approach or any other suggestion ? – Punit Sharma Jun 11 '15 at 05:39
-
It doesn't mind type, just simple byte array. Another approach would be building database and use volley cache for small items. Mostly it depends from particular application and backend. – 3mpty Jun 11 '15 at 09:36