Dependency Injection (DI) Principle in Android Applications

Published: 02 April 2023
on channel: Android Developer Tips
1,984
39

Dependency injection is a design pattern in which an object or function receives other objects or functions that it depends on. It aims to separate the concerns of constructing objects and using them, leading to loosely coupled programs.
In this video, I will guide you through a high-level overview of what Dependency Injection is and how it can be used in Android application development, plus some tips in the end.

#Android #DependencyInjection #DI #AndroidDevelopment #SoftwareDevelopment #ADT

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 - Intro
0:26 - The elephant in the room
0:41 - Overview of Dependency Injection
5:55 - Types of Dependency Injection
7:03 - Best Practices for Using DI in Android
11:50 - Outro

▬ Links and References ▬▬▬▬▬▬▬▬▬▬▬
► Using Dagger in Android apps:
https://developer.android.com/trainin...
► Dependency injection with Hilt:
https://developer.android.com/trainin...
► The pragmatic Kotlin dependency injection framework:
https://insert-koin.io/

Music from #Uppbeat (free for Creators!):
https://uppbeat.io/t/zayner/falling
License code: 3RLQ3IXABFNOUYVD

▬ Follow me on ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Twitter -   / @mohsenoid  
► Mastodon - https://mastodon.social/@mohsenoid@an...
► Medium -   / mohsenoid  
► Podcast - https://android-developer-tips.castos...


Watch video Dependency Injection (DI) Principle in Android Applications online, duration hours minute second in high quality that is uploaded to the channel Android Developer Tips 02 April 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,984 times and liked it 39 visitors.