Many of you like me, might be faced some troubles to understanding dagger2, So after lots of reading and searching finally i decided to create a best base sample project containing dagger2. Here it is.
Dagger2 is the most popular framework to implement dependency injection concept. If you don't know about what is dependency injection please read this article Here are the best articles to understanding DI and dagger2 concepts:
- Fundamentals of Dependency Injection and popular libraries in Android
- Dagger 2 for Android Beginners (read all 6 parts)
- learning dagger2 with graph dependencies
After reading these articles if you find out what is dagger2 and how it's works, finally, read below article to completely understand how dagger2 integrated with android components:
- New Android Injector with Dagger 2 (Read all 3 parts)
first, fork or clone the repository and start coding on this project. Please do not forget to star the project.