Providing Instances of the Same Type with HILT (Dagger2)
The best android courses in the world: https://codingwithmitch.com/
Watch the HILT course here (FREE): https://codingwithmitch.com/courses/hilt-dependency-injection/
Sometimes you have need to provide two (or more) instances of the object type through a Hilt (Dagger2) module. We can use annotations to mark the dependencies in the module.
Code: https://github.com/mitchtabian/Dagger-Hilt-Playerground/tree/basics
Instagram: https://www.instagram.com/codingwithmitch
Twitter: https://twitter.com/mitch_tabian
.
.
#AndroidDev
Видео Providing Instances of the Same Type with HILT (Dagger2) канала CodingWithMitch
Watch the HILT course here (FREE): https://codingwithmitch.com/courses/hilt-dependency-injection/
Sometimes you have need to provide two (or more) instances of the object type through a Hilt (Dagger2) module. We can use annotations to mark the dependencies in the module.
Code: https://github.com/mitchtabian/Dagger-Hilt-Playerground/tree/basics
Instagram: https://www.instagram.com/codingwithmitch
Twitter: https://twitter.com/mitch_tabian
.
.
#AndroidDev
Видео Providing Instances of the Same Type with HILT (Dagger2) канала CodingWithMitch
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
MVVM / MVI Repository Pattern with HiltHow I Earned Over 20K in 3 Months Freelance Programming on Upwork!Hilt Modules, Binds and Provides (Dagger2)Powerful Android Apps CLEAN RefactorAfter watching this, your brain will not be the same | Lara Boyd | TEDxVancouverAn opinionated guide to Dependency Injection on Android (Android Dev Summit '19)iOS Development is Easier than Android Development (VLOG)Column Layouts with Jetpack ComposeCoroutines will FREEZE your UIBe VERY Careful with GlobalScopeNetwork Timeouts with Kotlin CoroutinesFragment Constructor Injection with Hilt and Navigation ComponentKMP or Flutter? Firebase can get Expensive (VLOG)Kotlin Sealed Classes & Custom State Managment (VLog)Hilt ViewModels and Dependency InjectionI Built a Cross Platform App with Kotlin (Kotlin Multiplatform) (VLOG)HILT Field Injection and Constructor Injection2 Key Concepts of Clean Architecture (VLOG)Memory Leaks on AndroidProcess Death and ViewModels (My apps are BROKEN)