This repository is a comprehensive, beginner-friendly, and real-world guide to mastering Design Patterns and Code Principles in Android Development.
✨ Ideal for personal reference and helping fellow developers.
android-design-patterns-reference/
│
├── README.md
│
├── 1_Principles/
| |── SOLID/
| | |── SRP.md
| | |── OCP.md
| | |── LSP.md
| | |── ISP.md
| | └── DIP.md
│ ├── DRY.md
│ ├── KISS.md
│ ├── SoC.md
| ├── YAGNI.md
│ └── High_Cohesion_Low_Coupling.md
│
├── 2_Design_Patterns/
│ ├── MVVM/
│ │ ├── explanation.md
│ │ ├── sample_project/
│ ├── Singleton.md
│ ├── Adapter.md
│ ├── Builder.md
│ ├── Factory.md
│ ├── Observer.md
│ ├── Strategy.md
│ ├── Repository_Pattern.md
│ ├── Command.md
│ ├── Facade.md
│
├── 3_CheatSheets/
│ ├── solid_principles_cheatsheet.png
│ ├── design_patterns_cheatsheet.pdf
│
├── 4_Examples/
│ ├── mvvm_example_app/
│ ├── singleton_retrofit_demo/
│ └── observer_livedata_flow_demo/
│
├── LICENSE
└── CONTRIBUTING.md (Optional)
- DRY – Don’t Repeat Yourself
- KISS – Keep It Simple, Stupid
- SRP – Single Responsibility Principle
- SOLID Principles Overview
- Separation of Concerns
- MVVM Architecture
- Singleton Pattern
- Factory Pattern
- Builder Pattern
- Observer Pattern
- Adapter Pattern
- Strategy Pattern
- Repository Pattern
See the 4_Examples/ folder for hands-on projects and code snippets.
Fork, clone, or share this repo with friends! Contributions welcome.
MIT