gh-pages / com.nextfaze.devfun.menu / DevMenu

DevMenu

class DevMenu : AbstractDevFunModule, DeveloperMenu (source)

Constructors

Name Summary
<init> DevMenu()

Properties

Name Summary
actionDescription val actionDescription: CharSequence?
A human-readable description of how this controller is used.
isVisible val isVisible: Boolean
Flag indicating if the menu is currently visible.
title val title: String
A human-readable description of the name of this controller.

Inherited Properties

Name Summary
context val context: Context
Convenience delegate to DevFun.context.
devFun val devFun: DevFun
Reference to owning DevFun instance.

Functions

Name Summary
addController fun addController(menuController: MenuController): Unit
attach fun attach(developerMenu: DeveloperMenu): Unit
Called when this controller is being attached/initialized to a DeveloperMenu.
detach fun detach(): Unit
Called when this controller is being detached/removed from a DeveloperMenu.
dispose fun dispose(): Unit
Module cleanup.
hide fun hide(activity: FragmentActivity): Unit
init fun init(context: Context): Unit
Called upon initialize.
onDismissed fun onDismissed(): Unit
Called when DeveloperMenu is dismissed.
onShown fun onShown(): Unit
Called when DeveloperMenu is shown.
removeController fun removeController(menuController: MenuController): Unit
show fun show(activity: FragmentActivity): Unit
showAvailableControllers fun showAvailableControllers(activity: Activity): String

Inherited Functions

Name Summary
get fun <T : Any> get(): T
initialize open fun initialize(devFun: DevFun): Unit
Module initialization.
instanceOf fun <T : Any> instanceOf(clazz: KClass<out T>): T
minusAssign open operator fun minusAssign(menuController: MenuController): Unit
plusAssign open operator fun plusAssign(menuController: MenuController): Unit