smassive
07/01/2019, 7:15 AMKoinJavaComponent.get()
and too verbose to do a StandAloneContext.getKoin().koinContext.get()
, there are other options?nwh
07/01/2019, 12:40 PMsmassive
07/02/2019, 7:13 AMsmassive
07/02/2019, 7:21 AMinline fun <reified T : Any> getFromKoin(): T {
return KoinJavaComponent.get(T::class.java)
}
@arnaud.giuliani what do you think?arnaud.giuliani
07/10/2019, 8:47 AM