Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tabLayout.setOnTabSelectedListener(
- new TabLayout.ViewPagerOnTabSelectedListener(mViewPager) {
- @Override
- public void onTabSelected(TabLayout.Tab tab) {
- super.onTabSelected(tab);
- // Do your login here.. according to tab positon
- }
- });
Add Comment
Please, Sign In to add comment