Tag: injection

  • Android Dependency Injection Using Dagger 2

    Android Dependency Injection Using Dagger 2

    Dagger 2 is a dependency injection library that relies heavily on annotation preprocessing to automatically generate a series of classes that provide dependencies to various parts of your application. The preprocessing occurs as part of compilation. The class files that are created are human readable — some are meant to be referenced just like any other java classes, others…