Dependency Injection in Android with Dagger 2

Google drives developers to produce scalable and modular code with Android Architecture components. Dagger 2 takes it much further, creating a single repository where all your classes are initialized so that every Activity, Fragment, ViewModel and Repository is free from initializing the classes they are dependent on. Dagger 2 uses Dependency Injection to create scalable, … Continue reading Dependency Injection in Android with Dagger 2