Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

How to change MaterialViewPager's current item programatically? #24

Closed
costimuraru opened this issue May 14, 2015 · 1 comment
Closed

Comments

@costimuraru
Copy link

mViewPager.getViewPager().setCurrentItem(1) is not working properly. It is displaying only the card view, without the header and the tabs.
Is there any other way to achieve this?

@florent37
Copy link
Owner

mViewPager.getViewPager().setCurrentItem(1); works, I updated my sample to add it, have a look !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants