com.googlecode.androidannotations.annotations
Annotation Type ViewById


@Retention(value=SOURCE)
@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.string.* fields. If not set, the field name will be used as the R.id.* field name.


Optional Element Summary
 int value
           
 

value

public abstract int value
Default:
-1


Copyright © 2010-2012. All Rights Reserved.