Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Ultimate Dagger-Hilt Guide - Android Studio Tutorial

Philipp Lackner via YouTube

Overview

Learn the fundamentals of dependency injection in Android development using Dagger-Hilt in this comprehensive 35-minute video tutorial. Explore key concepts such as setting up Dagger-Hilt, creating modules, injecting into ViewModels, handling multiple dependencies of the same type, binding abstractions, field injection, and lazy injection. Gain practical knowledge to implement efficient dependency injection in your Android applications, improving code organization and maintainability.

Syllabus

- What is dependency injection?
- Setting up Dagger-Hilt
- Setting up the structure
- Creating a module
- Injecting into ViewModels
- Injecting the ViewModel in the UI
- Creating the application class
- Two dependencies of same type
- Binding abstractions
- Field injection
- Lazy injection

Taught by

Philipp Lackner

Reviews

Start your review of The Ultimate Dagger-Hilt Guide - Android Studio Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.