Dependency injection on Android

This is the first part of a write up about Dagger 2 on Android.

Dagger 2

Dagger 2 is a dependency injection framework for Java built on the JSR 330 standard. It works in all Java projects but this article will focus on Android development where Dagger is de facto standard for dependency injection.

The latest version, Dagger 2, is developed by Google together with Square, the original developers of Dagger.

Dagger 2 works at compile time in comparison to