From design to implementation, we will teach you how to implement Android-Universal-ImageLoader-sequence and androidimageloader step by step.

Source: Internet
Author: User

From design to implementation, we will teach you how to implement Android-Universal-ImageLoader-sequence and androidimageloader step by step.

Indicate the source for reprinting. This article is from the blog of chaossss.

Android-Universal-ImageLoader Github address

Introduction: during this period, I have consolidated the basic knowledge of Java, learned a lot about architecture and design patterns, and read a lot of the source code of the Android framework layer, with the idea of "learning to use", I decided to analyze the most commonly used libraries for Android in the next period. The analysis of this series of blog posts is roughly as follows: Think about the architecture and design in the actual scenarios of the Development Library, and restore the entire library step by step. On the one hand, I think of this series of blog posts as a summary of the knowledge I learned during this time. On the other hand, I hope not only to translate, but also to provide learning materials for everyone, we can also share our knowledge reserves with you to produce dry goods. Hope you can get what you want in this series of blog posts

Introduction to Android-Universal-ImageLoader

Android-Universal-ImageLoaderIt is an open-source project on Github for image loading. The author is nostra13. This project has accumulated 8881 stars and 4167 fork so far, it can be said that Github is a classic library in the Android field.

Tip: the Android-Universal-ImageLoader is referred to as AUI.

Nostra13 wants to use AUI to provide Android Developers with efficient, flexible, and highly customized image display, caching, and loading functions. AUI provides developers with specific classes to configure AUI, independently select the image loading class to meet the requirements. In addition, the excellent AUI project architecture enables developers to continue to expand on the basis of AUI.

In general, AUI is a widely used image loading library, but its performance is not the best. (For example, Fresco is superior to AUI In the use cases of reading and displaying a large number of images)

Blog Introduction

From design to implementation, we will teach you how to implement the Android-Universal-ImageLoader series of blog posts step by step. The content of each blog is tentative as follows:

Preface: Preface is this blog post. It briefly introduces the motivation for writing this series of blog posts, and then briefly introduces the writing ideas of AUI and this series of blog posts, as well as the summary of each article.

Part1: Analyze the Cache module of AUI, learn how AUI implements and designs two functional classes: memory Cache and local Cache, and learn some knowledge about specific implementation classes.

Part2: This section briefly describes how to encapsulate common tool classes in the library.

Part3: analyzes the image display module in AUI to learn how AUI implements decoding, loading, and display functions.

Part4: analyzes the auxiliary classes in AUI to learn how AUI achieves low coupling and high cohesion between classes.

Part5: analyzes the core classes in AUI.

Fragment

In theory, blog posts will be updated every week. If you are busy, you may drag on. If you say something wrong, I hope you can talk to me in the comment area ~

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.