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

Possible to increase the Tick count max programmatically #14

Closed
JamesTKhan opened this issue Apr 1, 2019 · 1 comment
Closed

Possible to increase the Tick count max programmatically #14

JamesTKhan opened this issue Apr 1, 2019 · 1 comment

Comments

@JamesTKhan
Copy link

Hey. I love the library, it looks great. I am trying to (when a certain condition is met) update the Tick bar to increase its maximum tick count. I noticed there was a method to set the max tick.

I have tried
seekbar.setMax(32f);

This does not seem to update the UI though, the old value is still visible and the Tick ends up in the middle. Is this possible to do?

seekbar

@JamesTKhan
Copy link
Author

JamesTKhan commented Apr 1, 2019

To get around this, I removed the XML seek bar and now build it using the builder passing in the parameters, then set the view based on the java build example. I assume this is how it is meant to be used in this scenario.

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

1 participant