ActionBar.SetListNavigationCallbacks Method

Definition

Caution

deprecated

Set the adapter and navigation callback for list navigation mode.

[Android.Runtime.Register("setListNavigationCallbacks", "(Landroid/widget/SpinnerAdapter;Landroid/app/ActionBar$OnNavigationListener;)V", "GetSetListNavigationCallbacks_Landroid_widget_SpinnerAdapter_Landroid_app_ActionBar_OnNavigationListener_Handler")]
[System.Obsolete("deprecated")]
public abstract void SetListNavigationCallbacks (Android.Widget.ISpinnerAdapter? adapter, Android.App.ActionBar.IOnNavigationListener? callback);
[<Android.Runtime.Register("setListNavigationCallbacks", "(Landroid/widget/SpinnerAdapter;Landroid/app/ActionBar$OnNavigationListener;)V", "GetSetListNavigationCallbacks_Landroid_widget_SpinnerAdapter_Landroid_app_ActionBar_OnNavigationListener_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetListNavigationCallbacks : Android.Widget.ISpinnerAdapter * Android.App.ActionBar.IOnNavigationListener -> unit

Parameters

adapter
ISpinnerAdapter

An adapter that will provide views both to display the current navigation selection and populate views within the dropdown navigation menu.

callback
ActionBar.IOnNavigationListener

An OnNavigationListener that will receive events when the user selects a navigation item.

Attributes

Remarks

Java documentation for android.app.ActionBar.setListNavigationCallbacks(android.widget.SpinnerAdapter, android.app.OnNavigationListener).

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