[android-components](../../index.md) / [mozilla.components.browser.tabstray](../index.md) / [TabViewHolder](index.md) / [bind](./bind.md)

# bind

`fun bind(session: `[`Session`](../../mozilla.components.browser.session/-session/index.md)`, isSelected: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, observable: `[`Observable`](../../mozilla.components.support.base.observer/-observable/index.md)`<`[`Observer`](../../mozilla.components.concept.tabstray/-tabs-tray/-observer/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/browser/tabstray/src/main/java/mozilla/components/browser/tabstray/TabViewHolder.kt#L39)

Displays the data of the given session and notifies the given observable about events.

