com.googlecode.androidannotations.annotations
Annotation Type ItemClick


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

Should be used on item click listener methods for AdapterView classes The method may have 0 or 1 parameter, that will be the object from the adapter, at the selected position. It may be of any type, so be careful about potential ClassCastException. If the parameter is an int, it will be the position instead of the object from the adapter. 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:
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.