# PopupMenu.OnDismissListener

Artifact: [androidx.appcompat:appcompat](https://developer.android.com/jetpack/androidx/releases/appcompat) [View Source](https://cs.android.com/search?q=file:androidx/appcompat/widget/PopupMenu.java+class:androidx.appcompat.widget.PopupMenu.OnDismissListener) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/appcompat#1.1.0)

*** ** * ** ***


```
public interface PopupMenu.OnDismissListener
```

<br />

*** ** * ** ***

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

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/appcompat/widget/PopupMenu.OnDismissListener#onDismiss(androidx.appcompat.widget.PopupMenu)(https://developer.android.com/reference/androidx/appcompat/widget/PopupMenu menu)` Called when the associated menu has been dismissed. |

## Public methods

### onDismiss

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/appcompat#1.1.0)

```
abstract void onDismiss(PopupMenu menu)
```

Called when the associated menu has been dismissed.

| Parameters |
|---|---|
| `https://developer.android.com/reference/androidx/appcompat/widget/PopupMenu menu` | the popup menu that was dismissed |