PopupToolbarMenuItem

A class representation of a single popup toolbar menu item.

Constructors

Link copied to clipboard
constructor(@IdRes id: Int, @StringRes title: Int)
Creates a menu item with given id and title.
constructor(id: Int, title: Int, isEnabled: Boolean)
Creates a menu item with given id and title.

Properties

Link copied to clipboard
val id: Int
Id of the menu item.
Link copied to clipboard
open var isEnabled: Boolean
Whether the menu item is enabled or not.
Link copied to clipboard
Menu item title string resource.