AQuery and Volley ImageLoader for image caching

I have already implemented AQuery in the entire image upload application. I have not used Volley Image Image Caching yet and wondered if I can also use it for image caching. For what purposes is the Volley API better than AQuery?

+4
source share
1 answer

You will need to write your own ImageCache implementation if you are using Volley.

If you need an integrated implementation that you control the most, use Volley. There is probably already an implementation for ImageCache on GitHub.

If you need a quick way to download images, use the Android Universal Image loader or AQuery. If you haven’t tried it yet, Android Universal Image Loader works quite well.


EDIT

Here's a good implementation of the ImageCache interface:

https://github.com/rdrobinson3/VolleyImageCacheExample/blob/master/CaptechBuzz/src/com/captechconsulting/captechbuzz/model/images/BitmapLruImageCache.java

This requires a support library.

+1
source

Source: https://habr.com/ru/post/1495032/


All Articles