public static interface Slider.ValueChangedListener
Slider.| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onProgressUpdated(Slider slider,
int progress,
boolean fromUser) |
Notifies change events of a slider.
|
void |
onTouchEnd(Slider slider) |
Notifies stop touch events of a slider.
|
void |
onTouchStart(Slider slider) |
Notifies start touch events of a slider.
|
void onProgressUpdated(Slider slider, int progress, boolean fromUser)
slider - Indicates the slider to listen for.progress - Indicates the progress value to set.fromUser - Indicates whether the change is made by users.void onTouchStart(Slider slider)
This method is called back by slider to respond to the start touch events.
slider - Indicates the slider to listen for.void onTouchEnd(Slider slider)
This method is called to respond to the stop touch events.
slider - Indicates the slider to listen for.