This new Composable only requires a list of modules to work, making it just a bit easier to use.
Bonus change
Removed unused import from sample app.
Note
⚠️ Warning: light mode screenshots ahead!
I did not use hyphens in the JavaDoc comment, as the docs are easier on the eye without them. Compare the JavaDoc hover preview in Android Studio of the KoinApplication Composable mentioned above
Context
After using the
KoinApplication
Composable in a different project, it felt weird to me that you need a lambda to provide the modules to your Koin application.This new Composable only requires a list of modules to work, making it just a bit easier to use.
Bonus change
Removed unused import from sample app.
Note
⚠️ Warning: light mode screenshots ahead!
I did not use hyphens in the JavaDoc comment, as the docs are easier on the eye without them. Compare the JavaDoc hover preview in Android Studio of the KoinApplication Composable mentioned above
with the new one.