Dan Tech Academy
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.

What this lesson covers
  1. 01Lesson Goal
  2. 02Part 1: What Koin Does
  3. 03Part 2: Which Artifact Goes Where
  4. 04Part 3: Modules Without Koin
  5. 05Part 4: One Graph, Two Entry Points
  6. 06Part 5: How Swift Calls Koin
  7. 07Practice Exercise
  8. 08Code Reading Path
  9. 09Signs To Avoid
  10. 10References
  11. 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
Sign in