Created
February 14, 2022 13:24
-
-
Save arnaudgiuliani/41840bafdd73efcd37dfb5306b7cbd7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val dataModule = module { | |
// data components definitions | |
} | |
val featureModule1 = module { | |
includes(dataModule) | |
// feature1 definitions | |
} | |
val featureModule2 = module { | |
includes(dataModule) | |
// feature2 definitions | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
startKoin { | |
// will load featureModule1, dataModule & featureModule2 | |
modules(featureModule1,featureModule2) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment