Individual element of context menu.

Summary

Public constructors

ContextMenuItem(label: String, onClick: () -> Unit)
android

Public functions

open operator Boolean
equals(other: Any?)
android
open Int
android
open String
android

Public properties

String

The text to be displayed as a context menu item.

android
() -> Unit

The action to be executed after click on the item.

android

Public constructors

ContextMenuItem

ContextMenuItem(label: String, onClick: () -> Unit)
Parameters
label: String

The text to be displayed as a context menu item.

onClick: () -> Unit

The action to be executed after click on the item.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

label

val labelString

The text to be displayed as a context menu item.

onClick

val onClick: () -> Unit

The action to be executed after click on the item.