com.googlecode.androidannotations.annotations
Annotation Type Touch


@Retention(value=SOURCE)
@Target(value=METHOD)
public @interface Touch

Should be used on touch listener methods in activity classes The method may have one or two parameters, the first parameter must be a android.view.MotionEvent and the second one must be a android.view.View. The method may return a boolean, void, or a java.lang.Boolean. If returning void, it will be considered as returning true (ie the method has handled the event). The annotation value should be one of R.id.* fields. If not set, the method name will be used as the R.id.* field name.

Author:
Mathieu Boniface

Optional Element Summary
 int[] value
           
 

value

public abstract int[] value
Default:
-1


Copyright © 2010-2012. All Rights Reserved.