Learn Hilt Dependency Injection in Android. Learn how modules are implemented in Hilt. How they are different from Dagger2 Modules. Learn about @Provides annotation along with @InstallIn annotation in HILT. These annotations are required when you cannot use @Inject annotation on the constructor of classes or for scenarios where you have interfaces or abstract classes or classes that requires some patterns for object creation. For instance, room database requires builder pattern, for this we need modules.
Learn about predefined set of components for each android class in Hilt. i.e. Singleton Component, Activity Component, Fragment Component in Hilt. Learn step by step - how to implement Hilt in Android Applications with simple example in Hindi
Topics covered -
1. Need of Modules in Hilt Dependency Injection.
2. Difference between dagger modules and hilt modules.
3. @InstallIn annotation and built-in components.
4. @Module and @Provides in Hilt.
5. Complete Example of Dagger Hilt in Android.
Complete Dependency Injection Playlist Link -
• Dagger 2 - Dependency ...
Complete Android Architecture Components Playlist -
• Android Architecture C...
Beginner series in Android Playlist (Hindi) -
• Android Tutorials Step...
Kotlin Beginners Tutorial Series -
• Kotlin Beginner Tutori...
For more info - visit the below link
www.cheezycode.com
We are social. Follow us at -
Facebook - / cheezycode
Twitter - / cheezycode
Instagram - / cheezycode
Негізгі бет Hilt Modules, @Provides, @InstallIn Annotation Android Tutorial - CheezyCode (Hindi)
No video
Пікірлер: 74