@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 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 eventExample :@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
,
SeekBarProgressChange
Copyright © 2010-2014. All Rights Reserved.