Dependency Injection in Android with Dagger 2 and Hilt

A complete guide to Dagger and Hilt dependency injection frameworks for Android development

With this course you’ll learn what dependency injection is, understand how it affects the architecture of your Android applications and master Dagger and Hilt dependency injection frameworks. This is a comprehensive resource, aimed to equip you with an expert-level Android development knowledge and skills.

What you’ll learn

  • Master Dagger and Hilt dependency injection frameworks.
  • Understand the relationship between Dagger, Dagger 2 and Hilt.
  • Learn the fundamental theory of Dependency Injection in Android.
  • Discover the best practices of Android development using Dependency Injection, Dagger and Hilt.

Course Content

  • Introduction –> 1 lecture • 4min.
  • Fundamental Dependency Injection Techniques –> 5 lectures • 27min.
  • Dependency Injection Architectural Pattern –> 3 lectures • 17min.
  • Tutorial Application –> 4 lectures • 33min.
  • Journey to Dependency Injection in the Tutorial Application –> 23 lectures • 3hr 9min.
  • Pure Dependency Injection –> 7 lectures • 1hr 4min.
  • Dagger 2 Tutorial –> 15 lectures • 2hr 16min.
  • Additional Dagger Conventions –> 5 lectures • 1hr 15min.
  • Dagger and ViewModel –> 9 lectures • 1hr 49min.
  • Hilt –> 11 lectures • 1hr 1min.
  • Course Summary –> 2 lectures • 6min.

Auto Draft

Requirements

  • Hands-on Android development experience.
  • Basic knowledge of Kotlin.

With this course you’ll learn what dependency injection is, understand how it affects the architecture of your Android applications and master Dagger and Hilt dependency injection frameworks. This is a comprehensive resource, aimed to equip you with an expert-level Android development knowledge and skills.

Even though the ultimate goal of this course is to make you comfortable with Dagger, you’ll also learn about so-called Pure Dependency Injection. That’s when you incorporate dependency injection into your Android applications without using any third-party libraries. Pure Dependency Injection is important and useful technique and, in addition, mastering Pure DI will allow you to see what Dagger brings to the table and appreciate its features.

 

  • Professional grade
  • From fundamentals to best practices
  • Non-trivial examples
  • Hands-on exercises
  • Tutorial Android application on GitHub with step-by-step commits history for easier review

 

Many developers spend weeks and even months learning Dagger, and some still give up on it. This course will spare you a lot of time because you won’t need to figure out Dagger on your own. You’ll also learn the associated best practices, so you’ll be protected from the most common mistakes and won’t shoot yourself in the foot. All technical solutions demonstrated in this course were tested in many professional projects and produced outstanding results.

So, if you want to learn what dependency injection is and how to use Dagger 2 to develop clean and maintainable Android applications – this course is for you.

Get Tutorial