Package icyllis.modernui.widget
Class TabLayout.ViewPagerOnTabSelectedListener
java.lang.Object
icyllis.modernui.widget.TabLayout.ViewPagerOnTabSelectedListener
- All Implemented Interfaces:
TabLayout.OnTabSelectedListener
- Enclosing class:
TabLayout
public static class TabLayout.ViewPagerOnTabSelectedListener
extends Object
implements TabLayout.OnTabSelectedListener
A
TabLayout.OnTabSelectedListener
class which contains the necessary calls back to the
provided ViewPager
so that the tab position is kept in sync.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when a tab enters the selected state.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface icyllis.modernui.widget.TabLayout.OnTabSelectedListener
onTabReselected, onTabUnselected
-
Constructor Details
-
ViewPagerOnTabSelectedListener
-
-
Method Details
-
onTabSelected
Description copied from interface:TabLayout.OnTabSelectedListener
Called when a tab enters the selected state.- Specified by:
onTabSelected
in interfaceTabLayout.OnTabSelectedListener
- Parameters:
tab
- The tab that was selected
-