org.androidannotations.annotations.res
Annotation Type TextRes
@Retention(value=CLASS)
@Target(value=FIELD)
public @interface TextRes
Use on CharSequence
fields in any enhanced classes that
should be injected with this specific string resource.
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.
value
public abstract int value
- Default:
- -1
resName
public abstract String resName
- Default:
- ""
Copyright © 2010-2014. All Rights Reserved.