Both of above is related. Following is my case
- I am using Volley Library
- Picasso(2.3.2) to load images
- Images are fairly large,so I resize them to dimension 300x300
- But during scroll of ListView/GridView, the images are reloaded again. Though the reload time is fairly small, I do not want the reloading of such nature.
So browsing, net I came across following
Use OkHttpClient caching mechanism
How to implement my own disk cache with picasso library - Android?
So I tried using OkHttp 2.0.0 into Volley Library
https://gist.github.com/JakeWharton/5616899
I think , from OkHttp 2.0.0 there is something to be changed on above gist. So I followed this instead
But the Volley library won't function now using method 2. Finally, I am trying to use caching as mentioned on this
So, my question is fairly simple, how not to reload the images that has been already downloaded. And if ,I have to use OkHttp 2.0.0 for disk caching, what are the ways, I should follow.