May 2020

As Kotlin is used increasingly for both mobile and server-side development, the associated ecosystem continues to evolve. Koin is a Kotlin framework that handles one of the routine problems in software development: dependency injection. Although you can choose from a variety of dependency injection frameworks for Kotlin, our teams have come to prefer the simplicity of Koin. Koin avoids using annotations and injects either through constructors or by mimicking Kotlin's lazy initialization so that objects are injected only when needed. This is in contrast to the statically compiled Dagger injection framework for Android. Our developers like the lightweight nature of this framework and its built-in testability.