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:
.
.
Смотрите видео Dependency Injection Tutorial #02 - Use DI in Your Android Studio Projects онлайн без регистрации, длительностью 14 минут 14 секунд в хорошем hd качестве. Это видео добавил пользователь Neat Roots 07 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 756 раз и оно понравилось 22 людям.