Google 致力于为黑人社区推动种族平等。查看具体举措

PopupMenu.OnDismissListener

public static interface PopupMenu.OnDismissListener

androidx.appcompat.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

public abstract void onDismiss (PopupMenu menu)

Called when the associated menu has been dismissed.

Parameters
menu PopupMenu: the popup menu that was dismissed