@Retention(value=CLASS) @Target(value=METHOD) public @interface SeekBarTouchStop
This annotation is intended to be used on methods to receive events defined
by
SeekBar.OnSeekBarChangeListener#onStopTrackingTouch(SeekBar) when the user
has finished to move the cursor of the targeted SeekBar.
The annotation value should be one or several R.id.* fields that refers to an android.widget.SeekBar. If not set, the method name will be used as the R.id.* field name.
The method MAY have one parameter :
SeekBar parameter to determine which
view has targeted this event
Example :
@SeekBarTouchStop(R.id.seekBar)
void onProgressStopOnSeekBar(SeekBar seekBar) {
// Something Here
}
@SeekBarTouchStop(R.id.seekBar)
void onProgressStopOnSeekBar() {
// Something Here
}
@SeekBarTouchStop({R.id.seekBar1, R.id.seekBar2})
void onProgressStopOnSeekBar(SeekBar seekBar) {
// Something Here
}
@SeekBarTouchStop({R.id.seekBar1, R.id.seekBar2})
void onProgressStopOnSeekBar() {
// Something Here
}
SeekBarTouchStart,
SeekBarProgressChangepublic abstract int[] value
public abstract String[] resName
Copyright © 2010-2015. All Rights Reserved.