Lilly
11/19/2021, 11:43 PMKoinComponent
, but is there another notation than by inject
so I can do this:
class WebKeyServiceProvider : KoinComponent {
fun requestService(isLegacy: Boolean): WebKeyService {
if (isLegacy) inject ImplA else inject ImplB
}
}