Welcome back to Part 2 of our Dependency Injection tutorial series. In this video, we will learn what Dependency Injection is and how to use it in our Android projects. We will perform constructor injection and create a ViewModel. We will also include dependencies in our projects and learn how to use field injection.
--------------------------------------------------------------------------------------------
Dependency Injection Tutorials:
--------------------------------------------------------------------------------------------
Topics Covered:
00:00 - Intro
01:51 - Running the App
02:44 - Using it in MVVM
03:30 - Performing constructor injection
04:35 - Creating view model
05:54 - Including dependencies
09:08 - Using repo without constructor
11:40 - Performing DI in a Service
12:36 - Using Field injection
13:13 - Important Tips
--------------------------------------------------------------------------------------------
FREE COURSES:
Create 10+ Projects including WhatsApp, Instagram, Earning App, Food Ordering App and many more:
Android App Development in Kotlin:
Complete Jetpack Compose in Android:
Android Development Course JAVA:
Our Podcasts:
------------------------------------------------------------------------------------
SOCIAL MEDIA LINKS:
LinkedIn:
Instagram:
Facebook:
Vishal's LinkedIn:
------------------------------------------------------------------------------------
OUR WORK:
.
.
Watch video Dependency Injection Tutorial #02 - Use DI in Your Android Studio Projects online without registration, duration 14 minute 14 second in high hd quality. This video was added by user Neat Roots 07 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 756 once and liked it 22 people.