FragmentHostCallback.OnInvalidateOptionsMenu Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to invalidate the host's options menu.
[Android.Runtime.Register("onInvalidateOptionsMenu", "()V", "GetOnInvalidateOptionsMenuHandler", ApiSince=23)]
public virtual void OnInvalidateOptionsMenu();
[<Android.Runtime.Register("onInvalidateOptionsMenu", "()V", "GetOnInvalidateOptionsMenuHandler", ApiSince=23)>]
abstract member OnInvalidateOptionsMenu : unit -> unit
override this.OnInvalidateOptionsMenu : unit -> unit
- Attributes
Remarks
Called to invalidate the host's options menu. The default implementation does nothing. An activity host can override this method to call InvalidateOptionsMenu().
Android reference for android.app.FragmentHostCallback.onInvalidateOptionsMenu.
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.