Volley,universal-image-loader and Picasso
Analysis of several picture loading request frames
Http://www.wl566.com/biancheng/154046.html
http://blog.csdn.net/djun100/article/details/24708825
The main is when the ListView sliding, cancel has disappeared, save resources.
Picasso and Universal-image-loader have done it.
Volley Cancel as if we were going to cancel it ourselves, canclerequest.
Android-universal-image-loader
The most popular one out there
Currently. Highly customizable.
Highly configurable network picture cache library, very flexible, maximum user volume
For the same picture address, the picture will change, smoothing the implementation of replacing the outdated picture:
Method 1: Override the Get method for Limitedagedisccache, Limitedagememorycache
Method 2: Increase the interface that determines whether the cache expires, or update the UI by downloading a callback listener if it expires.
Writing:
Http://www.2cto.com/kf/201406/312481.html
Androidquery
Chained calls, with custom picture loading effects
Picasso –has the nicest image API if you are using network!
Image download and cache class library for Android system
Picasso is an open source project for the Android system to download and cache pictures. One of the main differences between this project and some other download picture projects is that the HTTP cache on the 4.0+ system is used instead of the disk cache
http://square.github.io/picasso/
- Recycle and cancel the current download in adapter;
- Use minimal memory to complete complex graphics conversion operations;
- Automatic memory and hard disk cache;
- Graphics conversion operations, such as transform size, rotation, etc., provide an interface to allow users to customize the conversion operation;
- Loading network or local resources;
It has many customization options, how to handle downloading pictures (including adjustments and cropping, and providing an interface that lets you convert pictures to rounded corners, etc.) with your own mind. Picasso the picture that will be downloaded (if not cached) and load it to the specified target, convert the picture to fit the displayed ImageView to reduce memory consumption.
Single function, no cache expiration, same chain call as Androidquery, slow loading of local files (no thumbnails generated)
How to use: http://zxs19861202.iteye.com/blog/1989032
Reference: http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/0731/1639.html
Http://itindex.net/detail/51274-android-%E5%9B%BE%E7%89%87-%E4%B8%8B%E8%BD%BD
Android-volley Image Cache Analysis and comparison
Http://www.wl566.com/biancheng/154046.html
is slick; I really enjoy their pluggable backend transports,
And may end up dropping androidasync in there. The request priority
and cancellation management is great (if you are using network)
Hasn ' t changed that much but I noticed II issues with it in the meantime:
Imagecache
http://www.trinea.cn/android/android-imagecache/
Android Image Cache Library Usage Experience Summary