Share via


ActionBar.SetSelectedNavigationItem(Int32) Method

Definition

Caution

deprecated

Set the selected navigation item in list or tabbed navigation modes.

[Android.Runtime.Register("setSelectedNavigationItem", "(I)V", "GetSetSelectedNavigationItem_IHandler")]
[System.Obsolete("deprecated")]
public abstract void SetSelectedNavigationItem (int position);
[<Android.Runtime.Register("setSelectedNavigationItem", "(I)V", "GetSetSelectedNavigationItem_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetSelectedNavigationItem : int -> unit

Parameters

position
Int32

Position of the item to select.

Attributes

Remarks

Set the selected navigation item in list or tabbed navigation modes.

This member is deprecated. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other common navigation patterns instead.

Java documentation for android.app.ActionBar.setSelectedNavigationItem(int).

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