Android Dependency Injection with Dagger 2 and Hilt

Current Status
Not Enrolled

In this course, you’ll learn everything about dependency injection in Android and Dagger 2 dependency injection framework. By the end of the course, you’ll be able to integrate Dagger 2 into your Android projects in less than 30 minutes and leverage its features to write clean and maintainable code.

I will start by explaining to you the fundamental theory of dependency injection and you’ll see the full impact of this approach in Android applications. This will allow you to understand not just the HOW, but also the WHY of dependency injection. Then, once you’ll grasp the theory, we’ll introduce Dagger 2 into the picture. At that point, you’ll be able to clearly see and appreciate the benefits of this advanced framework.

Since you rarely ever use dependency injection all by itself, I’ll show you how to integrate it with other architectural patterns in Android applications. Most notably, we’ll explicitly discuss MVC and MVVM. I’ll dedicate a considerable time to cover Jetpack ViewModel and you’ll understand why this framework requires special treatment in context of dependency injection.

In the last part of the course, I’ll show you the latest addition to Dagger 2 family of libraries, Hilt. We’ll migrate the tutorial application from “vanilla” Dagger 2 to Hilt, so you’ll be able to understand the benefits and the drawbacks of this new framework.

As TechYourChance member, you’ll be invited to a private community forum where you can ask questions about the course and about your own professional projects.

You can watch the free lessons below to start the course and see if you like it.

Course Content

Fundamental Dependency Injection Techniques
Dependency Injection Architectural Pattern
Tutorial Application
Journey to Dependency Injection
Pure Dependency Injection
Dagger 2 Tutorial
Additional Dagger 2 Conventions
Dagger 2 and ViewModel
Course Summary