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