Dagger 2 Component Dependencies & Scopes- CheezyCode (Hindi) #11
Learn Dagger 2 Dependency Injection in Android. In this video - learn how to define component dependencies. Component can use other components to provide the required dependencies. These dependent components need to be declared inside @component annotation to let dagger know about the dependent components. Using this dependency array, dagger uses the objects provided by other components. If you are using factory method or builder method to create the component then you need to explicitly pass the reference of dependent objects i.e. while creating the component you need to pass the required dependent objects so that dagger can create the component for you. Learn how custom scopes are defined in Dagger. What is the use of Custom scopes in Dagger2? Learn all about this in Hindi with simple examples. Topics covered - 1. Dagger 2 Component dependencies 2. Relation between different components. 3. Component Scopes (Activity and Application Level Components) 4. Complete Example of Dagger 2 in Android. Complete Dependency Injection Playlist Link - https://www.youtube.com/playlist?list=PLRKyZvuMYSIPwjYw1bt_7u7nEwe6vATQd Complete Android Architecture Components Playlist - https://www.youtube.com/playlist?list=PLRKyZvuMYSIO0jLgj8g6sADnD0IBaWaw2 Beginner series in Android Playlist (Hindi) - https://www.youtube.com/playlist?list=PLRKyZvuMYSIN9sVZTfDm4CTdTAzDQyLJU Kotlin Beginners Tutorial Series - https://www.youtube.com/playlist?list=PLRKyZvuMYSIMW3-rSOGCkPlO1z_IYJy3G For more info - visit the below link http://www.cheezycode.com We are social. Follow us at - Facebook - http://www.facebook.com/cheezycode Twitter - http://www.twitter.com/cheezycode Instagram - https://www.instagram.com/cheezycode/
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.