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
Android: seekbar.setMin requires API level 26 #9112
Conversation
|
Oh, indeed. Weird that it didn't exist before then, but good catch. Could you add some clamping to |
|
On second thought, it's probably better to clamp when calling Lines 417 to 421 in 86a3721
|
|
Like this? Since we're now clamping, I'm assuming it's cleaner to remove |
|
Please keep calling Alternatively... Maybe the solution which would be the cleanest for all users (but would require slightly more code) would be to not call |
|
The problem with adjusting for |
|
I'll merge this as-is so that we'll have it fixed before tagging the next beta. I might make another PR later to refine the logic. |
Apparently there's no good alternative before
setMinwas implemented for dealing with minimums less than 0.