[android-components](../../../index.md) / [mozilla.components.concept.tabstray](../../index.md) / [TabsTray](../index.md) / [Observer](index.md) / [onTabSelected](./on-tab-selected.md)

# onTabSelected

`abstract fun onTabSelected(session: `[`Session`](../../../mozilla.components.browser.session/-session/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/tabstray/src/main/java/mozilla/components/concept/tabstray/TabsTray.kt#L22)

A new tab has been selected.

