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: Context
Convenience delegate to DevFun.context.
devFun val devFun: DevFun
Reference 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: String
Name of the module.

Functions

Name Summary
get fun <T : Any> get(): T
init abstract fun init(context: Context): Unit
Called upon initialize.
initialize open fun initialize(devFun: DevFun): Unit
Module initialization.
instanceOf fun <T : Any> instanceOf(clazz: KClass<out T>): T

Inherited Functions

Name Summary
dispose open fun dispose(): Unit
Module cleanup.

Inheritors

Name Summary
DevHttpD class DevHttpD : AbstractDevFunModule
DevMenu class DevMenu : AbstractDevFunModule, DeveloperMenu
DevStetho class DevStetho : AbstractDevFunModule
HttpFrontEnd class HttpFrontEnd : AbstractDevFunModule
InjectFromDagger2 class InjectFromDagger2 : AbstractDevFunModule
This module adds rudimentary support for searching Dagger 2.x component graphs for object instances.