com.googlecode.androidannotations.annotations.res
Annotation Type StringRes


@Retention(value=SOURCE)
@Target(value=FIELD)
public @interface StringRes

Use on fields in activity classes that should be injected with values from R.string.* The annotated field must be a String The annotation value must be one of R.string.* fields. If the value is not set, the field name will be used as the R.string.* field name. Notice that we named it @StringResValue instead of @StringValue because the StringValue class already exists in java.lang and does not need any import to be used.


Optional Element Summary
 int value
           
 

value

public abstract int value
Default:
-1


Copyright © 2010-2012. All Rights Reserved.