Multi-threaded Open source framework in Android

Source: Internet
Author: User

Asynctask, Ormlite, Volley, Imageloader

Thread pool:
Benefits of the thread pool:
1 reusing threads to avoid excessive overhead
2 controlling the maximum number of concurrent threads
3 Simple management of threads

asynctask= thread pool +handler

ormlite Line Cheng lock syncronized guarantee the data security when adding and deleting.

Volley

Project Address: Https://github.com/smanikandan14/Volley-demo
(1) Asynchronous download of JSON, image, etc.;
(2) Ordering of network requests (scheduling)
(3) Priority processing of network requests
(4) Cache
(5) Multi-level cancellation request
(6) Linkage with activity and life cycle (simultaneous cancellation of all network requests at end of activity)

Imageloader Framework (8th-largest framework)

Universalimageloader is an open source project for loading pictures, which is written in its project description,

    • Support multi-threaded picture loading
    • Provide rich detail configuration, such as thread pool size, HTPP request item, memory and disk cache, parameter configuration of picture display, etc.
    • Dual Cache available
    • Support the monitoring of loading process;
    • Provide a personalized display configuration interface for images;
    • Widget Support (this, personally feel no need to write in, but respect the original text)

Multi-threaded Open source framework in Android

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.