The use of the Android-universal-image-loader class library for asynchronous loading of Android images

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.