Hi, I'm trying to declare autoActivityScope in my ...
# kodein
m
Hi, I'm trying to declare autoActivityScope in my kodein file. I've registered necessary lifecycle callbacks in Application class. But when I try to retrieve dependency by KodeinInjector, throws exception:
Copy code
Caused by: com.github.salomonbrys.kodein.Kodein$NotFoundException: No provider found for bind<MyModel>() with ? { ? }
Is my kodein file with bindings should be in Application class and Application class must implement KodeinAware? I'll appreciate for some help. Thanks.
Problem already not actual, just forgot to use autoScopedSingleton instead of scopedSingleton