class SectionHolder
Holds section info for the builder. This gets converted to MaterialPopupMenu.PopupMenuSection.
SectionHolder()
Holds section info for the builder. This gets converted to MaterialPopupMenu.PopupMenuSection. |
var title: CharSequence?
Optional section holder. null by default. If the title is not null it will be displayed in the menu. |
fun customItem(: MaterialPopupMenuBuilder.CustomItemHolder.() -> Unit): Unit
Adds a custom item to the section. |
|
fun item(: MaterialPopupMenuBuilder.ItemHolder.() -> Unit): Unit
Adds an item to the section. |
|
fun toString(): String |