[android-components](../../index.md) / [mozilla.components.browser.tabstray](../index.md) / [TabsAdapter](index.md) / [onTabsInserted](./on-tabs-inserted.md)

# onTabsInserted

`fun onTabsInserted(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, count: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`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/TabsAdapter.kt#L51)

Overrides [TabsTray.onTabsInserted](../../mozilla.components.concept.tabstray/-tabs-tray/on-tabs-inserted.md)

Called after updateTabs() when count number of tabs are inserted at the
given position.

