Arnaud Giuliani
Oct 26, 2020

--

First, check how you can avoid use KoinComponent interface and use at maximum constructor injection.

Then if you really need to use KoinComponent, use the @OptIn annotation to assume the usage of this interface.

--

--

Arnaud Giuliani
Arnaud Giuliani

Written by Arnaud Giuliani

Lead of #Koin framework (insert-koin.io) - Co-founder of Kotzilla (kotzilla.io) - Google Dev Expert #Kotlin - #AndroidDev

Responses (1)