Welcome to Android Knowledge!
In this video, we will learn about dependency injection using dagger-hilt in android studio using kotlin - Android Kotlin Advanced Series
AK 2.0 Hindi YouTube Channel:
https://youtube.com/@androidknowledgehindi
Gradle Dependency:
dependencies {
implementation ("com.google.dagger:dagger:2.48.1")
kapt ("com.google.dagger:dagger-compiler:2.48.1")
}
Gradle Plugins:
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id ("kotlin-kapt")
}
Android - Kotlin (Beginners to Advanced) Playlist:
https://www.youtube.com/playlist?list=PLQ_Ai1O7sMV0LRCZJaHpl_9WLQunMqrzG
Join our Telegram Group:
https://t.me/androidknowledge
Instagram:
https://www.instagram.com/android_knowledge/
My Best Laptop for Android Development:
https://amzn.to/3wVfgnE
Website:
https://androidknowledge.com
My Laptop SSD for Fast Android Studio Experience:
https://amzn.to/40qvoLo
My Laptop Stand with Cooling Fans - Avoid Heating Due to Android Studio:
https://amzn.to/3RxeGpV
If you have any queries or errors, please feel free to comment below :-)
Please subscribe to my channel 😊👍
Chapters:
00:00 - Intro
00:08 - DI Theory
04:58 - DI Project
06:22 - Case 1: Without DI
09:36 - Case 2: Manual Field Injection
12:00 - Case 3: Manual Constructor Injection
13:28 - Case 4: Dagger
19:34 - Output
19:44 - Outro
Hashtags:
#android #androidstudio #kotlin #androiddevelopment #mobileappdevelopment
Keywords:
Dependency Injection using Dagger-Hilt in Android Studio using Kotlin | Android Knowledge
dependency injection android,dependency injection,dependency injection java,dependency injection simple,dependency injection simple explanation,dependency injection simple example,dependency,understanding dagger 2 android,dagger 2 android,dagger 2 simple example android,dagger 2 android tutorial,android,inject,understanding dagger 2,dagger 2 explained,dagger 2 easy example,knowledge,dagger 2 simple tutorial,dagger 2 simple example,,dagger 2 tutorial, hilt.
Disclaimer:
We are a participant in the Amazon Associates Program, an affiliate marketing program designed to provide a means for us to earn fees when you click on a product link and make a purchase at no extra cost to you.
All rights reserved by Android Knowledge ©