Computer scienceProgramming languagesKotlinAdditional instrumentsAdditional librariesDependency injection tools

Koin annotations

Injecting a lazy dependency

Report a typo

Write a code that declares the Repository class as a Koin component:

class Repository(val storage: Storage)

Please declare it using annotations to ensure a factory instance and indicate that the dependency will be passed to the graph lazily.

Enter a short text
___

Create a free account to access the full topic