class CustomItemHolder : MaterialPopupMenuBuilder.AbstractItemHolder
Holds section custom item info for the builder. This gets converted to MaterialPopupMenu.PopupMenuCustomItem.
CustomItemHolder()
Holds section custom item info for the builder. This gets converted to MaterialPopupMenu.PopupMenuCustomItem. |
var layoutResId: Int
Layout ID of the view to be used for this item. |
var callback: () -> Unit
Callback to be invoked once an item gets selected. |
|
var dismissOnSelect: Boolean
Whether to dismiss the popup once an item gets selected.
Defaults to |
|
var viewBoundCallback: (View) -> Unit
Callback to be invoked once the item view gets created and bound. It is to be used when some views inside need to be updated once inflated. |
fun toString(): String |
fun resolveViewBoundCallback(): ViewBoundCallback |