material-popup-menu / com.github.zawadz88.materialpopupmenu

Package com.github.zawadz88.materialpopupmenu

Types

MaterialPopupMenu

class MaterialPopupMenu

Holds all the required information for showing a popup menu.

MaterialPopupMenuBuilder

class MaterialPopupMenuBuilder

Builder for creating a MaterialPopupMenu.

ViewBoundCallback

class ViewBoundCallback : (View) -> Unit

Callback to be invoked once the custom item view gets created and bound. It is to be used when some views inside need to be updated once inflated.

Functions

popupMenu

fun popupMenu(init: MaterialPopupMenuBuilder.() -> Unit): MaterialPopupMenu

Function to create a MaterialPopupMenu.

popupMenuBuilder

fun popupMenuBuilder(init: MaterialPopupMenuBuilder.() -> Unit): MaterialPopupMenuBuilder

Function to create a MaterialPopupMenuBuilder.