class SimpleBrowserMenuItem : BrowserMenuItem
(source)
A simple browser menu item displaying text.
label
- The visible label of this menu item.
listener
- Callback to be invoked when this menu item is clicked.
SimpleBrowserMenuItem(: String, : () -> Unit)
A simple browser menu item displaying text. |
var visible: () -> Boolean
Lambda expression that returns true if this item should be shown in the menu. Returns false if this item should be hidden. |
fun bind(: BrowserMenu, : View): Unit
Called by the browser menu to display the data of this item using the passed view. |
|
fun getLayoutResource(): <ERROR CLASS>
Returns the layout resource ID of the layout to be inflated for showing a menu item of this type. |