🔪 Dagger2 Course – Introduction [#1]
Video by Master Coding via YouTube
Source
Dagger 2 is a compile-time android dependency injection framework and uses the Java Specification Request (JSR) 330 and uses an annotation processor.
Following are the basic annotations used in Dagger 2:
@Module : This is used on the class that does the work of constructing objects that’ll be eventually provided as dependencies.
@Provides : This is used on the methods inside the Module class that’ll return the object.
@Inject : This is used upon a constructor, field or a method and indicates that dependency has been requested.
@Component : The Module class doesn’t provide the dependency directly to the class that’s requesting it. For this, a Component interface is used that acts as a bridge between @Module and @Inject.
@Singleton : This indicates that only a single instance of the dependency object would be created.
We will learn what a dependency is, what injection means, and what benefits dependency injection provides in terms of code coupling, test ability and single responsibility principle. We will also learn what new problems dependency injection brings up and how Dagger 2 can help us get rid of them while still reaping the benefits of dependency injection.
The more subscribers we get again the better and more content we can
continue making!
🔸LIKE 👍
🔸SHARE ✉
🔸SUBSCRIBE✔
⭐️⭐️⭐️ Special Offer Udemy Course:
The Complete Android 10 Developer Course ⭐️⭐️⭐️
https://www.udemy.com/course/the-complete-android-10-developer-course-mastering-android/?referralCode=416B077A169809EF5F31
⭐️ ❗ Subscribe to the channel: ⭐️
https://www.youtube.com/androidmasterapp?sub_confirmation=1
⭐️ Master Android App: ⭐️
https://play.google.com/store/apps/details?id=net.masterandroid.pro
⭐️ Master Flutter App: ⭐️
https://play.google.com/store/apps/details?id=net.lebdevelopers.masterflutter
You don’t need to learn Android/ Java and iOS/ Swift development to build real native mobile apps! Just Click This link and follow the tutorials from zero:
🔗 https://www.youtube.com/androidmasterapp?sub_confirmation=1
Don’t miss to subscribe by clicking this link:
https://www.youtube.com/androidmasterapp?sub_confirmation=1
Never Miss to Like and Subscribe to get latest flutter, android and java tutorials.
⭐️ TAGS ⭐️
android development tutorial,
android programming tutorial,
android app development tutorial,
android tutorial for beginners ,
android app tutorial,
android studio tutorial,
learn android programming ,
android developer tutorial ,
android programming,
android development,
android studio tutorial for beginners,
android course,
android training,
android development course,
android app development course
android
android studio
android development
android development course
free android app development course
android app development
android tutorial
android (operating system)
product: android
android course
online android course
android online course
android apps
android course trailer
kotlin course
android app tutorial
hack android (full course)
kotlin android
android app development course
make android app
android studio
android tutorial
android
android studio tutorial
tutorial
android studio tutorials
android tutorial for beginners
android studio tutorials 2 minutes
android studio tutorials beginners
android studio menu tutorial
admob android studio tutorial
tutorials
dagger2
dagger
dagger course
android studio tutorial order food
android studio tutorial for beginners
studio
android (operating system)
android studio for window
android
android studio
android development
learn android development
learn android programming
learn android
learn android studio
android tutorial
how to learn android app development
android app development
android development course
how to become an android developer
how learn android
how to learn android
learn android scratch
learn android in hindi
make android app
android tutorial for beginners
#coding
#code
#android
#android_studio
#tutorials
#android_tutorials
#android_lessons
#learn
#learn_android
#learn_coding
#learn_java
#learn_kotlin
#learn_flutter
TAGS
dagger 2,dagger 2 android,dagger 2 android tutorial,dagger 2 tutorial,dagger 2 explained,dagger 2 easy example,dagger 2 simple,dagger 2 simple example android,dagger 2 simple example,dagger 2 simple tutorial,understanding dagger 2,understanding dagger 2 android,dependency injection,dependency injection java,dependency injection android,dependency injection simple,dependency injection simple explanation,dependency injection simple example,what is dagger
hilt
#hilt
#dagger
#dagger2