public interface OnSeekChangeListener
A callback that notifies clients when the progress level has been changed. This includes changes that were initiated by the user through a touch track or thumb as well as changes that were initiated programmatically.
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onSeeking(SeekParams seekParams)
Notification that the progress level has changed.
|
void |
onStartTrackingTouch(IndicatorSeekBar seekBar)
Notification that the user has started a touch gesture.
|
void |
onStopTrackingTouch(IndicatorSeekBar seekBar)
Notification that the user has finished a touch gesture.
|
void onSeeking(SeekParams seekParams)
Clients can use the fromUser parameter to distinguish user-initiated changes from those that occurred programmatically, also, if the seek bar type is discrete series, clients can use the thumbPosition parameter to check the thumb position on ticks and tick text parameter to get the tick text which located at current thumb below.
seekParams - the params info about the seeking barvoid onStartTrackingTouch(IndicatorSeekBar seekBar)
seekBar - The SeekBar in which the touch gesture beganvoid onStopTrackingTouch(IndicatorSeekBar seekBar)
seekBar - The SeekBar in which the touch gesture began