Beginner's Guide to Dagger Hilt

preview_player
Показать описание
⏱️ Timestamps:
[00:00] Intro
[00:37] Project setup
[01:20] Demo project walkthrough
[02:08] Requesting dependencies from Hilt
[03:55] Satisfying dependencies with "modules"
[05:46] Cleaning up manual factory code
[06:27] Programming against interfaces
[07:27] Adding parameters to @Provides methods
[08:21] Easily providing interfaces with @Binds
[09:36] Injecting Android classes
[10:40] Injecting view models
[11:25] Dagger "bindings" terminology
[11:50] Explaining Hilt "components"
[14:42] Showing "components" pseudo-code
[16:36] Showing practical "components" code
[19:59] TL;DR of Hilt "components"
[20:26] Qualifier annotations
[24:36] Scope annotations
[28:42] Lazy injection
[31:56] Nullable bindings
[34:27] Optional bindings
[36:59] Multibindings
[43:17] Outro

🔗 Links:

📱 Socials:

🙏 Credits:
Рекомендации по теме
Комментарии
Автор

Fantastic video. You helped me to understand the Android Documentation. I really liked the scope explaination.

YataNr
Автор

I have to say this is the most informative and concise video about dagger, and hilt, it basically captures all the critical pieces. Really appreciate you made this video!

howardqianranfu
Автор

This is hands down the most informative and concise video I've seen on Dagger and Hilt. It covers all the critical aspects in a clear and concise manner. I am truly grateful that you took the time to create this video!

mahdiporkar
Автор

Super video, Mike, I am a super programmer all thanks to you ^_^

sriabh
Автор

This is the most helpful Hilt video I've seen. Thank you Mike!

frenzelts
Автор

This is the most helpful Hilt tutorials I've seen. Thank you so much

dekhojahan
Автор

Thank you, Mike! Keep up the good work!

TheUltimateHugman
Автор

and why you are using Interface to create Modules instead of object class or any other class...?

adithyaraj