Hi I would like to manually request a dependency, ...
# koin
l
Hi I would like to manually request a dependency, so I implement the
KoinComponent
, but is there another notation than
by inject
so I can do this:
Copy code
class WebKeyServiceProvider : KoinComponent {
        fun requestService(isLegacy: Boolean): WebKeyService {
            if (isLegacy) inject ImplA else inject ImplB 
        }
    }