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