KodeinDIRoot

abstract class KodeinDIRoot(parentDI: <ERROR CLASS>) : KodeinDIPortal

Provides a KodeinDIPortal that needs to be present at the top of the Portal hierarchy.

All other KodeinDIPortal in the hierarchy should be children of that instance.

Parameters

parentDI

the application level DI that will be extended throughout the Portal hierarchy.

Constructors

KodeinDIRoot
Link copied to clipboard
fun KodeinDIRoot(parentDI: <ERROR CLASS>)
the application level DI that will be extended throughout the Portal hierarchy.

Functions

addPortalRemovedListener
Link copied to clipboard
open fun addPortalRemovedListener(listener: <ERROR CLASS>)
initializeKodeinDI
Link copied to clipboard
open override fun initializeKodeinDI(): <ERROR CLASS>
onPortalRemoved
Link copied to clipboard
open fun onPortalRemoved(isCompletelyRemoved: Boolean)
provideModule
Link copied to clipboard
open fun provideModule(): <ERROR CLASS>?
removePortalRemovedListener
Link copied to clipboard
open fun removePortalRemovedListener(listener: <ERROR CLASS>)

Properties

di
Link copied to clipboard
val di: <ERROR CLASS>
kodeinDIComponent
Link copied to clipboard
open val kodeinDIComponent: <ERROR CLASS>
parentDI
Link copied to clipboard
override val parentDI: <ERROR CLASS>
the application level DI that will be extended throughout the Portal hierarchy.