interface BrowserMenuItem
(source)
Interface to be implemented by menu items to be shown in the browser menu.
abstract val visible: () -> Boolean
Lambda expression that returns true if this item should be shown in the menu. Returns false if this item should be hidden. |
abstract fun bind(: BrowserMenu, : View): Unit
Called by the browser menu to display the data of this item using the passed view. |
|
abstract fun getLayoutResource(): Int
Returns the layout resource ID of the layout to be inflated for showing a menu item of this type. |
class BrowserMenuItemToolbar : BrowserMenuItem
A toolbar of buttons to show inside the browser menu. |
|
class SimpleBrowserMenuCheckbox : BrowserMenuItem
A simple browser menu checkbox. |
|
class SimpleBrowserMenuItem : BrowserMenuItem
A simple browser menu item displaying text. |