Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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