droidconIN 2015

The fifth edition of droidconIN

Gaurav Vashisth गौरव

@vashisthg

Dependency Injection in Android using Dagger 2

Submitted Aug 27, 2015

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

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}