Fragment.OnOptionsMenuClosed(IMenu) Fragment.OnOptionsMenuClosed(IMenu) Method


This hook is called whenever the options menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected).

[Android.Runtime.Register("onOptionsMenuClosed", "(Landroid/view/Menu;)V", "GetOnOptionsMenuClosed_Landroid_view_Menu_Handler")]
public virtual void OnOptionsMenuClosed (Android.Views.IMenu menu);
abstract member OnOptionsMenuClosed : Android.Views.IMenu -> unit
override this.OnOptionsMenuClosed : Android.Views.IMenu -> unit


IMenu IMenu

The options menu as last shown or first initialized by onCreateOptionsMenu().


Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to