Language

Fragment.OnDestroyOptionsMenu Method

Definition

Called when this fragment's option menu items are no longer being included in the overall options menu.

[Android.Runtime.Register("onDestroyOptionsMenu", "()V", "GetOnDestroyOptionsMenuHandler")]
public virtual void OnDestroyOptionsMenu();
[<Android.Runtime.Register("onDestroyOptionsMenu", "()V", "GetOnDestroyOptionsMenuHandler")>]
abstract member OnDestroyOptionsMenu : unit -> unit
override this.OnDestroyOptionsMenu : unit -> unit
Attributes

Remarks

Called when this fragment's options menu items are no longer included in the overall options menu. The menu was rebuilt without calling this fragment's OnCreateOptionsMenu(IMenu, MenuInflater).

Android reference for android.app.Fragment.onDestroyOptionsMenu.

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