-
public final class TabLayoutExtKt
-
-
Method Summary
Modifier and Type Method Description final static TabLayout.TabaddNewTab(TabLayout $self, String title, Object tag)final static UnitaddTabs(TabLayout $self, @ArrayRes() Integer arrayTitles)final static UnitaddTabs(TabLayout $self, Iterable<String> tabs)final static UnitselectByPosition(TabLayout $self, Integer position)final static UnitselectNext(TabLayout $self)final static UnitselectPrevious(TabLayout $self)final static BooleanselectTabByTag(TabLayout $self, Object tagId)final static UnitonTabSelected(TabLayout $self, Function1<TabLayout.Tab, Unit> callback)final static UnitaddMargin(TabLayout $self, @DimenRes() Integer id, Integer childIndex)final static UnitaddMargins(TabLayout $self, @DimenRes() Integer id)-
-
Method Detail
-
selectByPosition
final static Unit selectByPosition(TabLayout $self, Integer position)
-
selectNext
final static Unit selectNext(TabLayout $self)
-
selectPrevious
final static Unit selectPrevious(TabLayout $self)
-
selectTabByTag
final static Boolean selectTabByTag(TabLayout $self, Object tagId)
-
onTabSelected
final static Unit onTabSelected(TabLayout $self, Function1<TabLayout.Tab, Unit> callback)
-
addMargins
final static Unit addMargins(TabLayout $self, @DimenRes() Integer id)
-
-
-
-