class MaterialPopupMenu
Holds all the required information for showing a popup menu.
style
- Style of the popup menu. See MaterialPopupMenuBuilder.style
dropdownGravity
- Gravity of the dropdown list. See MaterialPopupMenuBuilder.dropdownGravity
Author
Piotr Zawadzki
fun dismiss(): Unit
Dismisses the popup window. |
|
fun setOnDismissListener(: (() -> Unit)?): Unit
Sets a listener that is called when this popup window is dismissed. |
|
fun show(: Context, : View): Unit
Shows a popup menu in the UI. |