material-components-android
material-components-android copied to clipboard
[Slider] Add a way to animate a value change
Is your feature request related to a problem? Please describe.
I would like to animate a value change of the Slider. The Android SeekBar allows you to pass a boolean to setProgress to animate the change. See: https://developer.android.com/reference/android/widget/ProgressBar#setProgress(int,%20boolean)
Describe the solution you'd like
A new function for Slider that looks like this:
public void setValue(float value, boolean animate) { ... }
Describe alternatives you've considered
The Android SeekBar, but that does not allow me to use Material Components for the sliders.
100% would love this! Any chance it'll be worked on soon? Also happy to try a hand at it if a material components contributor thinks it'll be noob-friendly and is available to code review, etc.
Has this been implemented.
Has this been implemented.
Are you sure?
Has this been implemented.
How?