public
static
class
TabLayout.ViewPagerOnTabSelectedListener
extends Object
implements
TabLayout.OnTabSelectedListener
java.lang.Object
|
↳ |
com.google.android.material.tabs.TabLayout.ViewPagerOnTabSelectedListener
|
A TabLayout.OnTabSelectedListener
class which contains the necessary calls back to the
provided ViewPager
so that the tab position is kept in sync.
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
|
Public constructors
ViewPagerOnTabSelectedListener
public ViewPagerOnTabSelectedListener (ViewPager viewPager)
Parameters |
viewPager |
ViewPager |
Public methods
onTabReselected
public void onTabReselected (TabLayout.Tab tab)
Parameters |
tab |
TabLayout.Tab |
onTabSelected
public void onTabSelected (TabLayout.Tab tab)
Parameters |
tab |
TabLayout.Tab |
onTabUnselected
public void onTabUnselected (TabLayout.Tab tab)
Parameters |
tab |
TabLayout.Tab |