ActionBar.AddOnMenuVisibilityListener 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.
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
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.