Open shishram opened 7 years ago
Not yet but will add that.
On Mar 16, 2017 10:45 AM, "shishram" notifications@github.com wrote:
I want to change the tabs from an Activity. like in XML we have starting_position and that opens whichever position we want spaceTabLayout to be selected by-default, Can I implement this programmatically.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thelong1EU/SpaceTabLayout/issues/13, or mute the thread https://github.com/notifications/unsubscribe-auth/AI2nVjpd-wOGBr4Z6NsJYsZWAoesAcRBks5rmPbDgaJpZM4Me_dh .
@long1eu Please add that functionality. your library is very good, it is just lacking in that functionality.
Just find the solution @long1eu @shishram and it is working perfectly okay for me
void selectPage(int pageIndex){ // your viewPager viewPager.setCurrentItem(pageIndex); }
You can make a pull request. This library is not maintained.
@ahmadmiraj can you make the tab on the page ? not below ? thank you
@iwebnetid what do you mean by on the page ??
Just find the solution @long1eu @shishram and it is working perfectly okay for me
void selectPage(int pageIndex){ // your viewPager viewPager.setCurrentItem(pageIndex); }
Superb!
I want to change the tabs from an Activity. like in XML we have starting_position and that opens whichever position we want spaceTabLayout to be selected by-default, Can I implement this programmatically.