android.widget.SeekBar.OnSeekBarChangeListener |
A callback that notifies clients when the progress level has been changed. This includes changes that were initiated by the user through a touch gesture or arrow key/trackball as well as changes that were initiated programmatically.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Notification that the progress level has changed.
|
||||||||||
|
Notification that the user has started a touch gesture.
|
||||||||||
|
Notification that the user has finished a touch gesture.
|
Notification that the progress level has changed. Clients can use the fromUser parameter to distinguish user-initiated changes from those that occurred programmatically.
seekBar | The SeekBar whose progress has changed |
---|---|
progress |
The current progress level. This will be in the range 0..max where max
was set by
setMax(int)
. (The default value for max is 100.)
|
fromUser | True if the progress change was initiated by the user. |
Notification that the user has started a touch gesture. Clients may want to use this to disable advancing the seekbar.
seekBar | The SeekBar in which the touch gesture began |
---|
Notification that the user has finished a touch gesture. Clients may want to use this to re-enable advancing the seekbar.
seekBar | The SeekBar in which the touch gesture began |
---|