-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.common.actions.BaseActions
public interface TabLayoutActions implements BaseActions
Provides action for TabLayout
-
-
Method Summary
Modifier and Type Method Description UnitselectTab(Integer index)Selects tab at given index UnitselectTabByText(String text)Selects tab at given text UnitselectTabByText(@StringRes() Integer resId)Selects tab at given text IntegergetSelectedItem()Returns the currently selected tab position abstract ViewInteractionDelegategetView()-
-
Method Detail
-
selectTab
Unit selectTab(Integer index)
Selects tab at given index
- Parameters:
index- tab index to be selected
-
selectTabByText
Unit selectTabByText(String text)
Selects tab at given text
- Parameters:
text- to be selected
-
selectTabByText
Unit selectTabByText(@StringRes() Integer resId)
Selects tab at given text
-
getSelectedItem
Integer getSelectedItem()
Returns the currently selected tab position
-
getView
abstract ViewInteractionDelegate getView()
-
-
-
-