Design Patterns
Design patterns is basically a solution or blueprint for a problem that we get over and over again in programming, so they are just typical types of problems we can encounter as programmers, and these design patterns are just a good way to solve those problems, there is a lot of design pattern in android. So basically, they are three categories as below:
- Creational Design patterns : How you create objects
- Structural Design patterns : How you compose objects
- Behavioral Design patterns : How you coordinate object interactions
Creational Design Patterns :
- Singleton Pattern
- Factory Pattern
- Abstract Factory Pattern
- Prototype Pattern
- Builder Pattern.