gh-pages / com.nextfaze.devfun.core / AbstractDevFunModule
AbstractDevFunModule
abstract class AbstractDevFunModule : DevFunModule (source)
Implementation of DevFunModule providing various convenience functions.
Constructors
| Name | Summary |
|---|---|
| <init> | AbstractDevFunModule()Implementation of DevFunModule providing various convenience functions. |
Properties
| Name | Summary |
|---|---|
| context | val context: ContextConvenience delegate to DevFun.context. |
| devFun | val devFun: DevFunReference to owning DevFun instance. |
Inherited Properties
| Name | Summary |
|---|---|
| dependsOn | open val dependsOn: List<KClass<out DevFunModule>>List of dependencies that this module requires to function correctly. |
| name | open val name: StringName of the module. |
Functions
| Name | Summary |
|---|---|
| get | fun <T : Any> get(): T |
| init | abstract fun init(context: Context): UnitCalled upon initialize. |
| initialize | open fun initialize(devFun: DevFun): UnitModule initialization. |
| instanceOf | fun <T : Any> instanceOf(clazz: KClass<out T>): T |
Inherited Functions
| Name | Summary |
|---|---|
| dispose | open fun dispose(): UnitModule cleanup. |
Inheritors
| Name | Summary |
|---|---|
| DevHttpD | class DevHttpD : AbstractDevFunModule |
| DevMenu | class DevMenu : AbstractDevFunModule, DeveloperMenu |
| DevStetho | class DevStetho : AbstractDevFunModule |
| HttpFrontEnd | class HttpFrontEnd : AbstractDevFunModule |
| InjectFromDagger2 | class InjectFromDagger2 : AbstractDevFunModuleThis module adds rudimentary support for searching Dagger 2.x component graphs for object instances. |