Which provides better Image Loading/Caching - Volley or Picasso?

Patrick picture Patrick · May 28, 2013 · Viewed 24.1k times · Source

I'm looking for an open source image loading/caching solution.

I am looking in to:

Google's Volley,

Square's Picasso

Universal Image Loader

I want to be able to handle async image loads from disk as well as network, however I'm not sure if Google's volley handle's loading from disk.

Does Volley allow resource loading from disk??

An example of what I would like to do is available with AQuery.

Answer

Sam Judd picture Sam Judd · Jul 16, 2013

If you're ok with newer/less stable software, I just released an open source library called Glide: https://github.com/bumptech/glide

It's designed to allow you to efficiently load any image you can get an InputStream to. It includes some basic http/file loading implementations, but also allows you to plug in your own or use some external library (like Volley) via callbacks.

It includes memory and disk caching, as well as bitmap recycling on newer devices. All you need to do is implement an interface to get an input stream for your data model (path/url/uri etc) and pass it along with whatever transformations, placeholders, or animations you want to the Glide singleton.

Happy to speak with you or anyone who is curious, we've used it extensively at Bump to interface with a variety of libraries.