No video

What is Dependency Injection in Android kotlin using dagger hiilt in Hindi

  Рет қаралды 8,246

Your Developer Here

Your Developer Here

Күн бұрын

What is Dependency Injection in Android using Kotlin?
In software engineering, dependency injection is a design pattern in which an object or function receives other objects or functions that it depends on. A form of inversion of control, dependency injection aims to separate the concerns of constructing objects and using them, leading to loosely coupled programs.
Dependency:-
--------------------------------------------------------------------------------------------------
Build.Gradle.app
--------------------------------------------------------------------------------------------------
// dagger Hilt
implementation 'com.google.dagger:hilt-android:2.38.1'
kapt 'com.google.dagger:hilt-compiler:2.38.1'
implementation 'androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03'
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
id 'com.google.gms.google-services'
}
--------------------------------------------------------------------------------------------------
Build.Gradle.project
--------------------------------------------------------------------------------------------------
dependencies {
classpath "com.android.tools.build:gradle:7.0.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.38.1'
classpath 'com.google.gms:google-services:4.3.14'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Vlog Channel Link:-
/ @jenilvaghanivlogs2139
✅---------CONNECT WITH US --------------
👉 Instagram:- / your_developer_here
👉 Mail:- yourdeveleoperhere001@gmail.com
👉 GitHub:- github.com/jen...
♥️ if you have any queries about this video then contact me on the following account
Thank you

Пікірлер: 28
Android Dependency Injection - Introduction
6:56
Simplified Coding
Рет қаралды 31 М.
Nurse's Mission: Bringing Joy to Young Lives #shorts
00:17
Fabiosa Stories
Рет қаралды 13 МЛН
So Cute 🥰
00:17
dednahype
Рет қаралды 42 МЛН
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 39 МЛН
What is Dependency Injection | Why you should use it | Urdu Hindi with example
17:52
MVVM vs. MVI - Understand the Difference Once and for All
18:40
Philipp Lackner
Рет қаралды 40 М.
Hilt - Android Dependency Injection
28:57
Android Developers
Рет қаралды 51 М.
Dagger Hilt Android Tutorial - Dependency Injection
31:42
Ahmed Guedmioui
Рет қаралды 6 М.
Dependency Injection in Android - Dagger Basics
4:30
Simplified Coding
Рет қаралды 14 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 399 М.
KOIN DI in android | Hindi | #di #android #kotlin
23:17
Vision Android Hindi
Рет қаралды 1,2 М.