Language

ActionBar.SelectedNavigationIndex Property

Definition

This method was deprecated in API level 21.

public abstract int SelectedNavigationIndex { [Android.Runtime.Register("getSelectedNavigationIndex", "()I", "GetGetSelectedNavigationIndexHandler")] get; }
[<get: Android.Runtime.Register("getSelectedNavigationIndex", "()I", "GetGetSelectedNavigationIndexHandler")>]
member this.SelectedNavigationIndex : int

Property Value

Position of the selected item.

Attributes

Remarks

This method was deprecated in API level 21. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other common navigation patterns instead.

Get the position of the selected navigation item in list or tabbed navigation modes.

Android reference for android.app.ActionBar.getSelectedNavigationIndex.

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