public static interface Slider.OnPositionChangeListener
| Modifier and Type | Method and Description |
|---|---|
void |
onPositionChanged(Slider view,
boolean fromUser,
float oldPos,
float newPos,
int oldValue,
int newValue)
Called when thumb's position changed.
|
void onPositionChanged(Slider view, boolean fromUser, float oldPos, float newPos, int oldValue, int newValue)
view - The view fire this event.fromUser - Indicate the change is from user touch event or not.oldPos - The old position of thumb.newPos - The new position of thumb.oldValue - The old value.newValue - The new value.