Top "Koin" questions

Koin is a Dependency Injection framework for Kotlin developers.

Koin Android: org.koin.error.NoBeanDefFoundException

Got that message error java.lang.RuntimeException: Unable to create application com.app.name.application.MainApplication: org.koin.error.BeanInstanceCreationException: …

android kotlin koin
Caused by: org.koin.core.error.InstanceCreationException: Could not create instance for [type:Factory,primary_type

I am developing news app I have implemented koin with viewmodel in fragment class but I am getting following error …

android mvvm fragment android-viewmodel koin
How to Inject application context from 'app' module to 'network' module using Koin DI

I'm developing an application based on Koin DI (ver : 1.0.1) with 2 modules(:app and :network). I have a requirement in :network …

android koin
Koin how to inject outside of Android activity / appcompatactivity

Koin is a new, lightweight library for DI and can be used in Android as well as in standalone kotlin …

android dependency-injection kotlin inversion-of-control koin
Koin: NoBeanDefFoundException, Check your module definitions

The koin test results as follows: org.koin.core.error.NoBeanDefFoundException: No definition found for '<class_name>…

android unit-testing kotlin dependency-injection koin
Pass data back to previous fragment using Android Navigation

I've started using Android Architecture Components (Navigation and Safe Args, View Models) along with Koin library. Currently, I've got a …

android android-jetpack android-navigation android-architecture-navigation koin
Koin vs Kodein - Dependency Injection what you prefer? Kotlin

What dependency injection for Android with Kotlin do you prefer? I have started using Kodein but i don't want to …

android dependency-injection kotlin kodein koin
How to fix "No compatible definition found for type 'Context'" from Koin lib?

I just started using Koin lib in an android (to replace Dagger 2) project which was prepared for tests. I have …

android kotlin dependency-injection koin
java.lang.NoSuchMethodError: No virtual method elapsedNow()D in class Lkotlin/time/TimeMark

I have recently updated the version of Kotlin to 1.4.0-rc. Since then Koin is returning the run time error below: …

android kotlin koin
How to use Koin in multiple module?

There are two modules in my android project, app module and lib module. Both these two modules need Koin for …

android kotlin koin