After this lesson you will
- Know which Koin module each Gradle module contributes and why domainModule lives in :shared-app
- Assemble the shared part with appKoinModules and let each platform add only its own modules
- Explain why QzDispatchers lives in :kernel and ScopeQualifier in :core
Duration25 min
DifficultyIntermediate
Koin In Multi-Module: appKoinModules And The Core Module
Each Gradle module keeps its own Koin module, appKoinModules assembles the shared part, and QzDispatchers and ScopeQualifier live in foundation modules.
- 01Lesson Goal
- 02Part 1: One Koin Module Per Gradle Module
- 03Part 2: appKoinModules Assembles The Shared Part
- 04Part 3: Order In The List
- 05Part 4: :kernel And QzDispatchers
- 06Part 5: ScopeQualifier Shared Across Modules
- 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: One Koin Module Per Gradle Module, … — 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