Koin Annotations In Compose Multiplatform - Beginner's Guide to Compile-Time Dependency Injection
Philipp Lackner
0:00 / 0:00
Koin Annotations In Compose Multiplatform - Beginner's Guide to Compile-Time Dependency Injection
12 378 просмотров · 1 год назад
Philipp Lackner
259 тыс. подписчиков
12 378 просмотров · 1 год назад
In this course, you'll learn about compile-time dependency injection using Koin for Android, iOS and Desktop targets in Compose Multiplatform. You'll learn about modules, ViewModels, platform-specific dependencies, as well as qualifiers.
⭐ Courses with real-life practices
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
https://pl-coding.com/premium-courses...
🎓 Become an industry-ready Android developer in the Mobile Dev Campus:
https://pl-coding.com/campus?utm_sour...
🎁 Get my FREE 4.5h Best Practice Guide to Android Architecture:
https://pl-coding.com/best-practice-g...
💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
https://pl-coding.com/drop-table-ment...
Regular programming advice on my Instagram page:
/ _philipplackner_
Get the source code for this video on GitHub:
https://github.com/philipplackner/CMP...
Kotlin Multiplatform Wizard
https://kmp.jetbrains.com/?android=tr...
00:00 - Introduction
00:44 - What is Dependency Injection?
04:25 - Real DI vs. Service Locator
10:07 - Koin Annotations Setup
18:50 - Creating sample dependencies
26:48 - Modules & providing dependencies
34:57 - Platform-specific dependencies
40:58 - ViewModel module
45:23 - Qualifiers
48:10 - Trying it out on all platforms