org.androidannotations.annotations
Annotation Type SeekBarTouchStop


@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 :

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
 }
 

Since:
2.7
See Also:
SeekBarTouchStart, SeekBarProgressChange

Optional Element Summary
 String[] resName
           
 int[] value
           
 

value

public abstract int[] value
Default:
-1

resName

public abstract String[] resName
Default:
""


Copyright © 2010-2014. All Rights Reserved.