After this lesson you will
- Explain how Koin creates objects from lambdas and finds definitions by type plus qualifier
- Choose the right Koin artifacts for commonMain, androidMain and the tests of each module
- Describe one appKoinModules graph with two entry points, Android and iOS
Duration25 min
DifficultyIntermediate
Koin Overview (Multiplatform)
Koin in a KMP app: artifacts per module, no Koin in :domain, and one appKoinModules graph for two platforms.
- 01Lesson Goal
- 02Part 1: What Koin Does
- 03Part 2: Which Artifact Goes Where
- 04Part 3: Modules Without Koin
- 05Part 4: One Graph, Two Entry Points
- 06Part 5: How Swift Calls Koin
- 07Practice Exercise
- 08Code Reading Path
- 09Signs To Avoid
- 10References
- 11Key Points
Topics: kotlin, 07-dependency-injection
11 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: What Koin Does, … — plus 114 lessons in this course, source code and checklists.
Unlock Mobile Action ProOne-time payment — lifetime access — 7-day money-back. Already purchased? Sign in