droidconIN 2015

The fifth edition of droidconIN

Up next

Dependency Injection in Android using Dagger 2

Gग

Gaurav Vashisth गौरव

@vashisthg

Understanding Dependency Injection and using Dagger 2

Outline

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

Speaker bio

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.

Comments