david.pacheco
02/07/2018, 10:58 AMandroidContextScope it would provide the context. However, I tried your suggestion and now I get
com.github.salomonbrys.kodein.Kodein$NotFoundException: No factory found for bind<PersistenceService>() with ? { Object -> ? }salomonbrys
02/07/2018, 11:17 AMbind<GreetPresenter>() with scopedSingleton(androidActivityScope) { GreetPresenter(it as GreeterView, instance(), with(it as Activity).instance()) }david.pacheco
02/07/2018, 12:01 PMit an Activity or is it treated as Any at that point which is why the cast is required?salomonbrys
02/07/2018, 3:50 PMdavid.pacheco
02/08/2018, 9:30 AM