How To Use Koin As Dependency Injection Framework For Kotlin & Compose Multiplatform - KMP Tutorial

Yanneck Reiß
Yanneck Reiß
5.2 هزار بار بازدید - 7 ماه پیش - In this video, we form
In this video, we form a basic understanding of dependency injection and how we can use Koin as a dependency injection framework in our Kotlin Multiplatform project with Compose Multiplatform.

While we only cover Android and iOS as target builds, you can also apply the content of this video for other platforms like Desktop and Web!

🔍 What You Will Learn:
- A basic understanding of the Dependency Injection design principle
- How to Setup Koin With Kotlin DSL and Koin Annotations KSP Plugin
- How to declare definitions / dependencies with Koin
- How to inject definitions / dependencies in your code with Koin

🔗 Helpful Links:
- Koin: https://insert-koin.io/
- Video's GitHub repository: https://github.com/YanneckReiss/kmp-c...

🙌 Follow me on:
Twitter: Twitter: YanneckReiss
Medium: Medium: yanneck-reiss
Instagram: Instagram: yanneckreiss

📌 Timestamps:
00:00 - Intro
00:58 - Why Dependency Injection?
02:52 - Why Koin?
03:49 - KMP Project Setup
05:48 - Constructor vs. Field Injection
06:44 - How To Declare Definitions / Dependencies With Kotlin DSL
10:48 - Constructor DSL
12:18 - How to Start Koin
15:34 - Koin Annotations KSP Plugin
20:36 - Koin in Compose Multiplatform Code
22:37 - Outro

#Kotlin #KotlinMultiplatform #ComposeMultiplatform #Koin #MobileAppDevelopment #DependencyInjection #DeveloperTutorial #Programming #TechGuide

🌟 Stay tuned for more insightful videos on the latest in software development technologies and best practices. Don’t forget to like and share!

Thank you for watching and happy coding! 🌟
7 ماه پیش در تاریخ 1402/10/03 منتشر شده است.
5,280 بـار بازدید شده
... بیشتر