Guest User

Untitled

a guest
Mar 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. tabLayout.setOnTabSelectedListener(
  2. new TabLayout.ViewPagerOnTabSelectedListener(mViewPager) {
  3. @Override
  4. public void onTabSelected(TabLayout.Tab tab) {
  5. super.onTabSelected(tab);
  6. // Do your login here.. according to tab positon
  7. }
  8. });
Add Comment
Please, Sign In to add comment