```override fun provideOverridingModule() = Module...
# kodein
b
Copy code
override fun provideOverridingModule() = Module {
    bind() from scopedSingleton(androidSupportFragmentScope) { DocumentInteractor(instance(), it.context) }
    bind() from scopedSingleton(androidSupportFragmentScope) { DocumentPresenter(instance()) }
    bind() from scopedSingleton(androidSupportFragmentScope) { DocumentDelegatesManager(instance(), null) }
    bind() from scopedSingleton(androidSupportFragmentScope) { ListDelegationAdapter<List<IUiScreenItem>>(instance()) }
  }

  override fun createPresenter() = injector.with(this).instance<DocumentPresenter>().value