Computer scienceProgramming languagesKotlinAdditional instrumentsAdditional librariesDependency injection tools

Koin basics

Eager injecting

Report a typo

Inject the Handler component without any parameters eagerly into the Application class. Use extension functions provided by the KoinComponent interface:

class Application: KoinComponent {
    private val handler = // your code here
}
Enter a short text

Create a free account to access the full topic