com.googlecode.androidannotations.annotations
Annotation Type ViewById


@Retention(value=CLASS)
@Target(value=FIELD)
public @interface ViewById

Use it on View fields in activity classes The field MUST be of a type that extends android.view.View. The annotation value should be one of R.id.* fields. If not set, the field name will be used as the R.id.* field name.


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.