Arnaud Giuliani
1 min readApr 6, 2020

--

Thanks.

We can request the getOrNull on Koin. Scopes are also a good tool for transient instances in your app. But if you need to have a factory that can return nullable instances, not sure about your usecase here.

--

--

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)