koin
koin copied to clipboard
Add Object support for koin annotation.
For example:
@Singleton(binds = [BaseAClass::class])
object AObject: BaseAClass() {}
Koin only support class now. I have to use:
@Factory(binds = [BaseAClass::class])
fun koinAObject() = AObject