com.googlecode.androidannotations.annotations
Annotation Type SeekBarProgressChange


@Retention(value=CLASS)
@Target(value=METHOD)
public @interface SeekBarProgressChange

This annotation is intended to be used on methods to receive events defined by SeekBar.OnSeekBarChangeListener.onProgressChanged(android.widget.SeekBar, int, boolean) when the progress level of a SeekBar has changed.
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 multiple parameter :
All these parameters are optional. Parameter names do not matter.
Some usage examples of @SeekBarProgressChange annotation:
 @ProgressChange(R.id.seekBar)
 void onProgressChangeOnSeekBar(SeekBar seekBar, int progress, boolean fromUser) {
        // Something Here
 }
 
 
 @ProgressChange(R.id.seekBar)
 void onProgressChangeOnSeekBar(SeekBar seekBar, int progress) {
        // Something Here
 }
 
 @ProgressChange({R.id.seekBar1, R.id.seekBar2})
 void onProgressChangeOnSeekBar(SeekBar seekBar) {
        // Something Here
 }
 
 @ProgressChange({R.id.seekBar1, R.id.seekBar2})
 void onProgressChangeOnSeekBar() {
        // Something Here
 }
 

Since:
2.7
See Also:
SeekBarTouchStart, SeekBarTouchStop

Optional Element Summary
 String[] resName
           
 int[] value
           
 

value

public abstract int[] value
Default:
-1

resName

public abstract String[] resName
Default:
""


Copyright © 2010-2013. All Rights Reserved.