Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 14

PopupMenu.OnDismissListener

public static interface PopupMenu.OnDismissListener

android.widget.PopupMenu.OnDismissListener


Callback interface used to notify the application that the menu has closed.

Summary

Public methods

abstract void onDismiss(PopupMenu menu)

Called when the associated menu has been dismissed.

Public methods

onDismiss

added in API level 14
public abstract void onDismiss (PopupMenu menu)

Called when the associated menu has been dismissed.

Parameters
menu PopupMenu: the popup menu that was dismissed