[android-components](../../index.md) / [mozilla.components.concept.tabstray](../index.md) / [Tabs](index.md) / [selectedIndex](./selected-index.md)

# selectedIndex

`val selectedIndex: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/tabstray/src/main/java/mozilla/components/concept/tabstray/Tabs.kt#L15)

Index of the selected tab in the list of tabs (or -1).

### Property

`selectedIndex` - Index of the selected tab in the list of tabs (or -1).