in Android development we often encounter too many pictures or improper operation caused out of memory abnormal, sometimes although it solves the problem but it will affect the efficiency of the program, for example: When the user in the fast sliding scroll bar process, Our program is still struggling to load the server side of the picture, so that the user caused a very bad experience. In fact, the network on the image of the asynchronous loading and caching a lot of explanations, but in fact, write a program in this area is still more troublesome, to consider many aspects of multi-threading, caching, memory overflow and so on, for this vast number of developers will encounter problems, some cows have helped us solve this problem, Today I introduce to you a very popular open source class library, can be very good to solve everyone's troubles!
one. Description:
< Span style= "Word-wrap:break-word; padding:0px; margin:0px; Color:rgb (192,0,0) ">android-universal-image-loader is an open-source UI component program designed to provide a reusable component for asynchronous image loading, caching, and display.
An open source class library above GitHub ( official download: Span style= "Word-wrap:break-word; padding:0px; margin:0px ">https://github.com/nostra13/android-universal-image-loader )
&NBSP;&NBSP; features:
1. Multi-threaded image loading;
&NBSP;2. figure Caching mechanisms, including memory caches (soft references) and local caches;
3. Dynamic configuration of Imageloader (size of the thread pool, HTTP options, memory and disc cache mode, display image, and other options);
4. monitoring and event handling for the loading process;
5 display options for mounted pictures , including picture fillet processing and loading complete display animation, etc.