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