ListMenuItemView

(SESL variant) The item view for each item in the ListView-based MenuViews.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet)
constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int)

Functions

Link copied to clipboard
Link copied to clipboard
Gets the item data that this view is displaying.
Link copied to clipboard
open fun initialize(itemData: MenuItemImpl, menuType: Int)
Initializes with the provided MenuItemData.
Link copied to clipboard
Whether this item view prefers displaying the condensed title rather than the normal title.
Link copied to clipboard
Link copied to clipboard
open fun setCheckable(checkable: Boolean)
Displays the checkbox for the item view.
Link copied to clipboard
open fun setChecked(checked: Boolean)
Checks the checkbox for the item view.
Link copied to clipboard
open fun setForceShowIcon(forceShow: Boolean)
Link copied to clipboard
open fun setGroupDividerEnabled(groupDividerEnabled: Boolean)
Enable or disable group dividers for this view.
Link copied to clipboard
open fun setIcon(icon: Drawable)
Set the icon of this item view.
Link copied to clipboard
open fun setShortcut(showShortcut: Boolean, shortcutKey: Char)
Sets the shortcut for the item.
Link copied to clipboard
open fun setTitle(title: CharSequence)
Sets the title of the item view.
Link copied to clipboard
open fun showsIcon(): Boolean
Whether this item view shows an icon.