Bottombar: how to set active tab from code

Created on 11 Jun 2016  路  2Comments  路  Source: roughike/BottomBar

i'm using a viewpager in my app and i wanted to change active tab on viewpager scroll how can i make this happen? please help me :)

Most helpful comment

You could use selectTabAtPoistion()

All 2 comments

You could use selectTabAtPoistion()

It's actually against the Material Design Guidelines to use a ViewPager as they say horizontal swipes should not affect navigation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mag2007 picture mag2007  路  8Comments

zhangzhzh picture zhangzhzh  路  7Comments

Nolanus picture Nolanus  路  4Comments

rodrigobressan picture rodrigobressan  路  4Comments

alizarei95 picture alizarei95  路  4Comments