public class ReactSlider
extends AppCompatSeekBar
On iOS, the value is 0..1. Android SeekBar only supports integer values. For consistency, we pretend in JS that the value is 0..1 but set the SeekBar value to 0..100.
Note that the slider is _not_ a controlled component (setValue isn't called during dragging).
Constructor and Description |
---|
ReactSlider(android.content.Context context,
android.util.AttributeSet attrs,
int style) |
Modifier and Type | Method and Description |
---|---|
double |
toRealProgress(int seekBarProgress)
Convert SeekBar's native progress value (e.g.
|