-
Kodein is very sexy DI library, It will become a next spring in kotlin.
I have some sugestion:
1. More flexible type matcher, eg. C > B > A, instance<A> and instance<B> also can get the …
-
We have a REST API implemented with DropWizard. It uses the resource/repository pattern. We currently aren't using any DI, which is starting to get rather hairy as we keep adding more. I've been exper…
-
# Sumario
Presentación sobre los fundamentos de Inyección de Dependencias, y como utilizar el framework [KODEIN](https://salomonbrys.github.io/Kodein/) para conseguir facilmente DI en projetos Kotl…
-
The word _dice_ is plural of _die_
One die
Many dice
```kotlin
val dice = arrayOf(Die(1), Die(3), Die(5))
```
-
Gradle 4.8
Android build tools 3.1.3
Gradle fails with the following exception:
```
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':framework:kodein-d…
-
Hi! Was evaluating the available DI options in kotlin when I stumbled upon Kodein and couldn't help but notice that the example, and all the documentation I've stumbled upon, implements a service loca…
-
For any KodeinInjected class it is safe to use fileds like
`val logger: AppLogger by withClass().instance()`
with proper multiton bindind like
`bind() with multiton { cls: Class -> AppLogge…
-
Hi,
I have been trying to build a android library using Kotlin and came across Kodein for DI. A lot of examples in the documentation are based on using it for an Android Application where we make t…
-
Here is a simple example with an injected property where I want to use the injected property to define another property:
class TestModule
{
val bar = "bar"
}
class Tes…
-