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 TypeMethodDescriptionvoidCalled when a tab enters the selected state.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface icyllis.modernui.widget.TabLayout.OnTabSelectedListener
onTabReselected, onTabUnselected
-
Constructor Details
-
ViewPagerOnTabSelectedListener
-
-
Method Details
-
onTabSelected
Description copied from interface:TabLayout.OnTabSelectedListenerCalled when a tab enters the selected state.- Specified by:
onTabSelectedin interfaceTabLayout.OnTabSelectedListener- Parameters:
tab- The tab that was selected
-