Android knowledge graph (continuous update)

 

The purpose of writing this column

       They are all reviewing and sorting out the Android development experience of the past few years, checking the missing and filling vacancies, and hope to further improve and establish their own knowledge system through serious review and summary

 

Writing style

       This is the only blog in the "Android World" column. This blog uses a "mind map" + link method to cut the Android knowledge system from the whole to the part, and describes the knowledge structure of each part through the mind map. At the same time, below the mind map, I listed some valuable blog links to supplement the important and difficult points in the mind map.

 

my goal:

        P7


table of Contents

Bitmap articles

     1. Knowledge Graph ​

    2. Reference articles: 


  • Bitmap articles 

       Basically, there is a Bitmap where there is a picture. This part mainly involves the use and optimization of Bitmap. Bitmap is created by BitmapFactory. There are 5 creation methods, which are used to obtain Bitmap objects from streams, locals, byte arrays, and resources. Bitmap is a large user of memory, and you will encounter OOM situations if you are not careful during the development of the program. ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? So when using Bitmap, we need to know more details, such as the impact of the drawable file type on the memory size of Bitmap? How to calculate the Bitmap size? How to compress Bitmap? What is the memory model of Bitmap in different versions? On this basis, we need to delve into how to optimize, such as Bitmap reuse, to avoid frequent system GC, and optimize the network and memory by using cache. The last thing is to learn the tripartite open source framework and learn the ideas of top people in the industry to solve problems. That's almost it!

Date:2021-02-28

     1. Knowledge Graph  

   

    2. Reference articles: 

 

Guess you like

Origin blog.csdn.net/qq_30329621/article/details/114240200