getPositionOfItemWithTabButtonId

open fun getPositionOfItemWithTabButtonId(@IdRes tabButtonId: Int): Int

Returns the position of item with given tab button id.

Return

Position or -1 if not found.

Parameters

tabButtonId

Tab button id we're looking for.