koinApplication

fun koinApplication(createEagerInstances: Boolean = true, appDeclaration: KoinAppDeclaration? = null): KoinApplication

Create a KoinApplication instance and help configure it

Author

Arnaud Giuliani

Parameters

createEagerInstances

allow to create eager instances or not

appDeclaration

closure for configuration of a new Koin context


Create a KoinApplication instance and help configure it. This overload helps ensure backward-compatible bytecode.

Author

Gary Spreder

Parameters

appDeclaration

closure for configuration of a new Koin context




fun koinApplication(createEagerInstances: Boolean): KoinApplication

Create a KoinApplication instance and help configure it. This overload helps ensure backward-compatible bytecode.

Author

Gary Spreder

Parameters

createEagerInstances

allow to create eager instances or not