com.googlecode.androidannotations.annotations
Annotation Type LongClick


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

Should be used on long click listener methods in activity classes The method may have zero or one parameter, that MUST be of type android.view.View . 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. 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).

Author:
Benjamin Fellous, Pierre-Yves Ricau, Mathieu Boniface

Optional Element Summary
 int[] value
           
 

value

public abstract int[] value
Default:
-1


Copyright © 2010-2012. All Rights Reserved.