Thanks to its clean design, Koin is quickly gaining popularity as an inversion of control framework. Highlights include its excellent documentation, accessible api, and the pure Kotlin source.
In this talk, we’ll go over basic usage like factories, singles, and modules. We’ll talk about scoping and lazy-loading modules, and we’ll look at its integration with Android screens and ViewModels. Most importantly, we’ll see how we can use Koin to easily generate mocked dependencies for clean and hermetic tests.