Factory

annotation class Factory(val binds: Array<KClass<*>> = [Unit::class])

Koin definition annotation Declare a type, a function as factory definition in Koin

example:

Parameters

binds

: declared explicit types to bind to this definition. Supertypes are automatically detected

Properties

Link copied to clipboard
val binds: Array<KClass<*>>