Take a look at the Head First design pattern. It has a good explanation of the design pattern. At the same time, it gives a lot of space to the commonly used design patterns (basically those commonly used in Android). The less commonly used ones are just passed by. Some examples of design patterns are given, which is more interesting to learn. The commonly used design patterns in Android are also explained in great lengths in the book. After learning it and then looking at Android, you don’t need to look at it in particular. When you see a certain class, its usage, and what kind of design pattern it uses, Immediately came to mind.
After reading design patterns, you will feel more and more accomplished when writing.
Innovative patterns: singleton pattern, abstract factory pattern, builder pattern, factory pattern.
Structural patterns: adapter pattern, composition pattern, agent pattern.
Behavioral patterns: observer pattern, mediator pattern.
It is recommended that you read the android developer training page once.
http://developer.android.com/training/index.html
Many design patterns are used in Android source code. Here you can refer to:
Android source code design pattern analysis open source project
Take a look at the Head First design pattern. It has a good explanation of the design pattern. At the same time, it gives a lot of space to the commonly used design patterns (basically those commonly used in Android). The less commonly used ones are just passed by. Some examples of design patterns are given, which is more interesting to learn. The commonly used design patterns in Android are also explained in great lengths in the book. After learning it and then looking at Android, you don’t need to look at it in particular. When you see a certain class, its usage, and what kind of design pattern it uses, Immediately came to mind.
After reading design patterns, you will feel more and more accomplished when writing.
Recommend a book to you: Software Cheats: Design Patterns
It’s very easy to understand
Factory mode, adaptation mode, singleton mode are commonly used in android.