Dependency Injection with Kodein & MVVM Architecture - Android Kotlin Tutorial @ResoCoder
Dependency Injection with Kodein & MVVM Architecture - Android Kotlin Tutorial  @ResoCoder
Uploaded September 2018 | Updated November 2026, 3 hours ago
πŸ“— Get the code from this tutorial πŸ‘‡πŸ‘‡
resocoder.com/di-kodein-mvvm

πŸ’‰ Kodein Docs: kodein.org/Kodein-DI

Start saving time now by planning weekly with Week Sweep: bit.ly/2Jf3QA0

Not a single software developer ever said that a more loosely coupled code gives him headaches. On the contrary, tight coupling can and will create a bunch of things that are hard to deal with.

But first, what is that "loose coupling"? Loose coupling means not instantiating dependencies of a class directly but getting them from a centralized place. Dependencies are simply classes which are needed by other classes. For example, a view model needs a repository, so the repository is a dependency of the view model.

Loose coupling also means that your classes operate with their dependencies through an interface and not directly with their concrete implementation. This allows you to swap implementations really easily. For example, a production implementation of a database will store data on a remote server, while a test implementation will store data only locally.

In this tutorial you are going to learn how to put what's written above into practice by using a dependency injection framework called Kodein. It is specifically designed to work well with Kotlin and it's also compatible with Java.

Go to my website for more information, code examples and articles:
● resocoder.com

Follow me on social media:
● facebook.com/resocoder
● twitter.com/resocoder
Dependency Injection with Kodein & MVVM Architecture - Android Kotlin TutorialFlutter Riverpod Tutorial - The Better ProviderCreate Responsive Flutter Apps with Minimal EffortFlutter TDD Clean Architecture Course [6] – Repository ImplementationFlutter Firebase & DDD Course [7] - Injectable & LintingFirebase Firestore Chat App: Creating a Chat Channel (Ep 4) - Kotlin Android TutorialFlutter Photo View & Gallery - Resize & Rotate + Image CarouselThe PROVEN Way to Get Freelance Clients Quickly as a Flutter App DeveloperFlutter Europe 2020 - Recap of the BIGGEST Flutter Conference to DateAndroid MVVM Kotlin Tutorial - LiveData + ViewModel (Android Architecture Components)Learn Flutter Clean Architecture & TDD - Full Course (Flutter Tutorial)Flutter Infinite ListView Pagination #2 (/w the BLoC Pattern)
Reso Coder |

Dependency Injection with Kodein & MVVM Architecture - Android Kotlin Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER