koin library
Classes
- Koin
- Gather main features to use on Koin context
- KoinApplication
- Koin Application Help prepare resources for Koin context
- KoinComponent
- KoinComponent interface marker to bring Koin extensions features. Koin is a DSL to help describe your modules & definitions, a container to make definition resolution .What we need now is an API to retrieve our instances outside of the container. That's the goal of Koin components.
-
Lazy<
T> - A class that provides lazy object initialization.
- Logger
- Koin has a simple logging API to log any Koin activity (allocation, lookup ...) Koin proposes some implementation of logging, in function of the target platform:
- Module
- Koin Module Gather/help compose Koin definitions @author - Arnaud GIULIANI
- Qualifier
- Qualifier
- ScopeCallback
- ScopeDSL
- StringQualifier
- String Qualifier
-
TypeQualifier<
T> - Type Qualifier
Mixins
- KoinComponentMixin
- KoinComponentMixin interface marker to bring Koin extensions features
- ScopedComponentMixin
Constants
Functions
-
asyncStartKoin(
dynamic appDeclaration(KoinApplication app), {KoinContext koinContext}) → Future< void> - Start a Koin Application as StandAlone
-
koinApplication(
void appDeclaration(KoinApplication app)) → KoinApplication - Create a KoinApplication instance and help configure it @author Arnaud Giuliani
-
lazy<
T> (Initializer< T> initializer) → Lazy<T> - Creates a new instance of the Lazy.
-
loadKoinModule(
Module module) → void - Load a Koin module in global Koin context
-
loadKoinModules(
List< Module> modules) → void - Load Koin a list of modules in global Koin context
-
module(
{bool createdAtStart = false, bool override = false}) → Module - Define a Module @param createdAtStart @param override
-
named<
T> ([String name]) → Qualifier - Give a String qualifier
-
qualifier<
T> ([String name]) → Qualifier - Give a String qualifier
-
startKoin(
dynamic appDeclaration(KoinApplication app), {KoinContext koinContext}) → KoinApplication - Start a Koin Application as StandAlone
-
stopKoin(
) → void - Stop current StandAlone Koin application
-
unloadKoinModule(
Module module) → void - Unload Koin modules from global Koin context
-
unloadKoinModules(
List< Module> modules) → void - Unload Koin modules from global Koin context
Enums
Typedefs
-
Initializer<
T> = T Function()