Hello folks. A new version of Kodein has been released.
Version 7.16.0 brings:
• Compose 1.2.1 (with Kotlin 1.7.20 and full capabilities (JVM / Android | JS | Native iOS)
• A brand new API for multi-binding, you can find more about it here http://kosi-libs.org/kodein/7.16/core/multi-binding.html
But here is a small example of it:
Copy code
val di = DI {
bindSet<Configuration> {
add { provider { FooConfiguration() } }
bind { singleton { BarConfiguration() } }
}
}
The old API is now deprecated and should be removed in a future version.
Enjoy Kodein 7.16.0! And, of course, feedback is always welcome.