Factory
fun <C : Any, A, T : Any> Factory(contextType: TypeToken<in C>, argType: TypeToken<in A>, createdType: TypeToken<out T>, creator: BindingDI<C>.(A) -> T)
Content copied to clipboard
Parameters
A
The argument type.
T
The created type.
arg Type
The type of the argument used by this factory.
created Type
The type of objects created by this factory.