Android Reactive Programming with RxJava arrow_forward
Dependency Injection in Android using Dagger 2
Submitted by Gaurav Vashisth गौरव (@vashisthg) on Thursday, 27 August 2015
Section: Core Development - Crisp talk (15 minutes) Technical level: Intermediate
Understanding Dependency Injection and using Dagger 2
Dagger 2 is a dependency injection framework by google. I would like to demonstrate how it can be helpful when used in Android applications.
What is Dependency Injection.
Dagger Dagger 1.x Pros Problems. Dagger 2 - Improvements Using Dagger 2
Ingredients Injects Modules Provides Components
Example of using Dagger 2 in Android
Gaurav Vashisth develops android applications at Fueled. Besides java he likes to tinker with Kotlin. He has worked on applications such as Afterlight and QuizUp. He is on twitter at @vashisthg.