yes please and make it so that everyone can understand and follow it :-) I'm alway struggling with the official android docs as they often don't seem clear to me.
Dear Google, Instead of being overreacted to any technologies, stay calm and choose one or two great ways, don't bother us android developers too much.
Hi. Does Hilt generate "vanila Dagger" components in Kotlin or it was just for demonstration? I faced problem that kapt runs only once and doesn't process newly generated code with annotations. Do you know the way to overcome this limitation?
A question, on the minute 11:50 why your DataModule is in an object, and if the object is like a singleton why should I add Singleton annotation for provide de DataBase?
How do I reinject in the Application class like Dagger? Pre - Assumptions, I have nine modules; each contains up to 40 APIs; Each module's Providers are Singleton; Working with AUTH also Token changes Each time after logout.
I just. try dagger. hilt and is very easy to setup it, but I don't know. how can a create unit test because the current documentation is not ready for us. Please tell us how can for example test ViewModels and trade coroutines ...
Honestly? The quality of the video is terrible. The audio distorsts many times, it fades out in the middle of a word, sometimes the video is very low resolution but takes big part of the screen, etc. The voice skills are also very questionable. It does not look professional at all. Otherwise Hilt is very welcomed upgrade.
Well it depends. In general you should not pass anything to viewmodel that has activity or fragment context for example views. ViewModel is UI independent. You can create functions in viewmodel in which you could pass some data objects from activity/fragment. For things like repository and usecases you should use some DI pattern to inject them via viewModel factory.
Looks like I have to make a tutorial about that soon
You didn't yet that's shame 😃 !
But it doesn't matter Google had a rich documentation about hilt so yeah 😏 !
@@saidooubella Yea maybe it's pointless to make one at all
Keep making your tutorials you have your followers and they don't read document or watch such hard videos! Good luck
yes please and make it so that everyone can understand and follow it :-) I'm alway struggling with the official android docs as they often don't seem clear to me.
already created by #AndroidDevs
Notes for myself:
Hilt: 4:50
Simplest example: 7:00
Apart from other things, I'm really looking forward to assisted inject release
Many inaudible words for closed captioning, please review and fix so we that have hearing disabilities can understand
Good job with hilt. I love how easy it is to use but I hope you can also discuss more on how to incorporate robolectric tests with hilt
Dear Google, Instead of being overreacted to any technologies, stay calm and choose one or two great ways, don't bother us android developers too much.
How about FragmentFactory support? It was one of the best thing for testing, is it supported by Hilt?
Great video Daniel! Hilt becomes a lot easier than Dagger, congratulations!
Hi. Does Hilt generate "vanila Dagger" components in Kotlin or it was just for demonstration? I faced problem that kapt runs only once and doesn't process newly generated code with annotations. Do you know the way to overcome this limitation?
ApplicationComponent has been renamed to SingletonComponent !
A question, on the minute 11:50 why your DataModule is in an object, and if the object is like a singleton why should I add Singleton annotation for provide de DataBase?
How do I reinject in the Application class like Dagger?
Pre - Assumptions, I have nine modules; each contains up to 40 APIs; Each module's Providers are Singleton; Working with AUTH also Token changes Each time after logout.
in the 15:30 slide, shouldn't the colon in the 3rd line go instead in the 2nd line?
Ouch!! I feel sick because the audio goes on and off!!
Same :(
Prepare to use this in my new project!
I just. try dagger. hilt and is very easy to setup it, but I don't know. how can a create unit test because the current documentation is not ready for us. Please tell us how can for example test ViewModels and trade coroutines ...
Honestly? The quality of the video is terrible. The audio distorsts many times, it fades out in the middle of a word, sometimes the video is very low resolution but takes big part of the screen, etc. The voice skills are also very questionable. It does not look professional at all. Otherwise Hilt is very welcomed upgrade.
Lockdown effect maybe.... :P :D He looks so tired too.... :P :D We should try to understand the situation.. Me too noticed all these things... :)
I think the word "modules" is used to explain 2 different things and is confusing - Hilt @Module and android modules.
Hilt looks pretty neat indeed. I would like to know if support for DFMs is in the roadmap though...
hilt is great! will be using it from the next project.
Video's a little outdated. Some of the annotation's mentioned are deprecated.
Thank you for the feedback! We have raised this with our team.
0:04 Hi my name is.... #SlimShady
That things said. Really useful content. Thanks.
Can we use hilt in flutter apps also ??
It would be much simpler to understand if there was thermosyphon example.. SMH.. Joking aside, thank you :)
Can I pass parameters to the ViewModel from the activity/fragment?
Well it depends. In general you should not pass anything to viewmodel that has activity or fragment context for example views. ViewModel is UI independent. You can create functions in viewmodel in which you could pass some data objects from activity/fragment. For things like repository and usecases you should use some DI pattern to inject them via viewModel factory.
Really nice talk thanks :)
Great explanation and DI solution
Hello Community,
I want to create an Object of a Class whose constructor has a string value.
What about toothpick ?
Greatly appreciated.
Nice explanation!
Koin laughs from distance... LOL
thanks for the explanation
I understood The bad bunny references
Awesome 👍
Do developers use that? Okay, I will add in my library too.
Thanks for
Un álbum de Bad bunny de ejemplo para inyección de dependencias? JAJAJAJA
Great
Time to refactor 😆
so badly explained.