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

OnDismissListener

interface OnDismissListener
androidx.appcompat.widget.PopupMenu.OnDismissListener

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

Summary

Public methods
abstract Unit

Called when the associated menu has been dismissed.

Public methods

onDismiss

abstract fun onDismiss(menu: PopupMenu!): Unit

Called when the associated menu has been dismissed.

Parameters
menu PopupMenu!: the popup menu that was dismissed