[android-components](../../index.md) / [mozilla.components.feature.readerview](../index.md) / [ReaderViewFeature](index.md) / [onSessionSelected](./on-session-selected.md)

# onSessionSelected

`fun onSessionSelected(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/feature/readerview/src/main/java/mozilla/components/feature/readerview/ReaderViewFeature.kt#L126)

Overrides [SelectionAwareSessionObserver.onSessionSelected](../../mozilla.components.browser.session/-selection-aware-session-observer/on-session-selected.md)

The selection has changed and the given session is now the selected session.

