Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change selected item programatically #5

Closed
Tsabary opened this issue Oct 15, 2019 · 1 comment
Closed

Change selected item programatically #5

Tsabary opened this issue Oct 15, 2019 · 1 comment

Comments

@Tsabary
Copy link

Tsabary commented Oct 15, 2019

Sometimes there's a need to change the selected item programatically, without the user clicking the item (automatic navigation based on certain actions). Is there a function to do it with this library?

@akshay2211
Copy link
Owner

Hey @Tsabary
Thanks for using BubbleTabBar

you can use
bubbleTabBar.setSelected(0)
with the position of selected tab as param

P.S. kindly use the latest version 1.0.3

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

No branches or pull requests

2 participants