We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, I'm using the range seekbar and I've set the value as shown below:
XML:
<com.crystal.crystalrangeseekbar.widgets.CrystalRangeSeekbar android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginTop="16dp" android:layout_marginEnd="16dp" android:layout_marginBottom="6dp" app:bar_color="@color/grey" app:bar_highlight_color="@color/white" app:corner_radius="20" app:data_type="_integer" app:left_thumb_color="@color/blue" app:left_thumb_color_pressed="@color/white" app:right_thumb_color="@color/blue" app:right_thumb_color_pressed="@color/white" />
Code:
seek_bar .setMaxValue(449755406) .setMaxStartValue(449755406) .setMinValue(32) .setMinStartValue(32) .apply(); seek_bar.setOnRangeSeekbarChangeListener((minValue, maxValue) -> { start_text.setText(String.valueOf(minValue)); end_text.setText(String.valueOf(maxValue)); });
maxValue
setOnRangeSeekbarChangeListener
449755392
449755406
Here's the screenshot
This doesn't happen for all numbers but only for some, like in this case 449755406. Am I doing something wrong or is this a bug?
The text was updated successfully, but these errors were encountered:
Here's a demo project.
Sorry, something went wrong.
Perfect, it's working great. it's save my time. @gmacdev (y)
No branches or pull requests
Hey, I'm using the range seekbar and I've set the value as shown below:
XML:
Code:
But the
maxValue
undersetOnRangeSeekbarChangeListener
is449755392
which is wrong. It should be449755406
.Here's the screenshot
This doesn't happen for all numbers but only for some, like in this case
449755406
.Am I doing something wrong or is this a bug?
The text was updated successfully, but these errors were encountered: