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: BooleanFlag indicating if the menu is currently visible. |
| title | val title: StringA human-readable description of the name of this controller. |
Inherited Properties
| Name | Summary |
|---|---|
| context | val context: ContextConvenience delegate to DevFun.context. |
| devFun | val devFun: DevFunReference to owning DevFun instance. |
Functions
| Name | Summary |
|---|---|
| addController | fun addController(menuController: MenuController): Unit |
| attach | fun attach(developerMenu: DeveloperMenu): UnitCalled when this controller is being attached/initialized to a DeveloperMenu. |
| detach | fun detach(): UnitCalled when this controller is being detached/removed from a DeveloperMenu. |
| dispose | fun dispose(): UnitModule cleanup. |
| hide | fun hide(activity: FragmentActivity): Unit |
| init | fun init(context: Context): UnitCalled upon initialize. |
| onDismissed | fun onDismissed(): UnitCalled when DeveloperMenu is dismissed. |
| onShown | fun onShown(): UnitCalled 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): UnitModule 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 |