DropdownEntry

data class DropdownEntry(val items: List<DropdownItem>, val enabled: Boolean = true)

A group of dropdown items.

A DropdownEntry represents one visual group in a dropdown menu. Group titles are intentionally reserved for future use because the original MIUI dropdown style currently has no matching group-title presentation.

Parameters

items

Items shown in this dropdown group.

enabled

Whether this group is enabled. When false, all items in this group are disabled; when true, each item's DropdownItem.enabled value is still respected.

Constructors

Link copied to clipboard
constructor(items: List<DropdownItem>, enabled: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard