DRAGGER Kotlin tutorial android part 7. Inject runtime values to dependent objects using MODULE.

Опубликовано: 12 Октябрь 2024
на канале: Ashok Dhulipalla
1,571
25

#ashokdaggertutorial
What is dependency Injection?
   • DAGGER tutorial android part 1. What ...  
DAGGER kotlin tutorial android part 1. @COMPONENT @INJECT AND What is dependency injection.
   • DAGGER kotlin tutorial android part 1...  
DAGGER Kotlin tutorial android part 2. FIELD INJECTION in any activity of android project.
   • DAGGER Kotlin tutorial android part 2...  
DAGGER Kotlin tutorial android part 3. @MODULE AND @PROVIDES. How to create implemented classes?
   • DAGGER Kotlin tutorial android part 3...  
DAGGER Kotlin tutorial android part 4. Instances of third party classes using @MODULE AND @PROVIDES.
   • DAGGER Kotlin tutorial android part 4...  
DAGGER Kotlin tutorial android part 5. METHOD INJECTION.
   • DAGGER Kotlin tutorial android part 5...  
DAGGER Kotlin tutorial android part 6. FIELD INJECTION IN ANY CLASS.
   • DAGGER Kotlin tutorial android part 6...  
DRAGGER Kotlin tutorial android part 7. Inject runtime values to dependent objects using MODULE.
   • DRAGGER Kotlin tutorial android part ...  
DAGGER Kotlin tutorial android part 8. @COMPONENT.BUILDER AND @BINDINSTANCE.
   • DAGGER Kotlin tutorial android part 8...  
DAGGER Kotlin tutorial android part 9. @NAMED.
   • DAGGER Kotlin tutorial android part 9...  
DAGGER Kotlin tutorial android part 10. @SINGLETON
   • DAGGER Kotlin tutorial android part 1...  
DAGGER Kotlin tutorial android part 11. Component as application level.
   • DAGGER Kotlin tutorial android part 1...  

apply plugin: 'kotlin-kapt'

dependencies{
implementation 'com.google.dagger:dagger-android:2.20'
implementation 'com.google.dagger:dagger-android-support:2.20' // if you use the support libraries
kapt 'com.google.dagger:dagger-android-processor:2.20'
kapt 'com.google.dagger:dagger-compiler:2.20'
}