koin v0.8.0 Release Notes
-
Introducing new modules: koin-spark and koin-android-architecture
Android Architecture
viewModel
DSL keyword (specializedprovide
alias for ViewModel), to declare an Architecture Components ViewModelgetViewModel()
function in Activities and Fragments, to get and bind ViewModel components
Spark
controller {}
DSL keyword (specializedprovide
alias), to declare Spark controllers classesstart() {}
function to start Spark server (optional port number) - lambda expression to allow the start of Koin and any controller instantiationrunControllers()
function to instantiate all spark controllers, declared withcontroller
keyword DSL
Core
- ๐ Better logging and error display
- ๐ Some fixes about internals resolution for bound types