filmov
tv
The Ultimate Dagger-Hilt Guide (Dependency Injection) - Android Studio Tutorial

Показать описание
Dependency injection is a core concept of software development. In this video, I'll show you how you can apply DI in an Android app using Dagger-Hilt.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
💻 Let me personally review your code and provide individual feedback, so it won't backfire and cost you a fortune in future:
Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!
Join this channel to get access to perks:
Get the code here:
Join my Discord server:
You like my free content? Here you can buy me a coffee:
00:00 - What is dependency injection?
06:45 - Setting up Dagger-Hilt
08:25 - Setting up the structure
10:39 - Creating a module
17:20 - Injecting into ViewModels
20:15 - Injecting the ViewModel in the UI
21:40 - Creating the application class
24:05 - Two dependencies of same type
26:20 - Binding abstractions
29:58 - Field injection
31:28 - Lazy injection
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
💻 Let me personally review your code and provide individual feedback, so it won't backfire and cost you a fortune in future:
Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!
Join this channel to get access to perks:
Get the code here:
Join my Discord server:
You like my free content? Here you can buy me a coffee:
00:00 - What is dependency injection?
06:45 - Setting up Dagger-Hilt
08:25 - Setting up the structure
10:39 - Creating a module
17:20 - Injecting into ViewModels
20:15 - Injecting the ViewModel in the UI
21:40 - Creating the application class
24:05 - Two dependencies of same type
26:20 - Binding abstractions
29:58 - Field injection
31:28 - Lazy injection
Комментарии