ActionBar.AddOnMenuVisibilityListener Method

Definition

Add a listener that will respond to menu visibility change events.

[Android.Runtime.Register("addOnMenuVisibilityListener", "(Landroid/app/ActionBar$OnMenuVisibilityListener;)V", "GetAddOnMenuVisibilityListener_Landroid_app_ActionBar_OnMenuVisibilityListener_Handler")]
public abstract void AddOnMenuVisibilityListener (Android.App.ActionBar.IOnMenuVisibilityListener? listener);
[<Android.Runtime.Register("addOnMenuVisibilityListener", "(Landroid/app/ActionBar$OnMenuVisibilityListener;)V", "GetAddOnMenuVisibilityListener_Landroid_app_ActionBar_OnMenuVisibilityListener_Handler")>]
abstract member AddOnMenuVisibilityListener : Android.App.ActionBar.IOnMenuVisibilityListener -> unit

Parameters

listener
ActionBar.IOnMenuVisibilityListener

The new listener to add

Attributes

Remarks

Java documentation for android.app.ActionBar.addOnMenuVisibilityListener(android.app.OnMenuVisibilityListener).

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