org.androidannotations.annotations.res
Annotation Type StringRes
@Retention(value=CLASS)
@Target(value=FIELD)
public @interface StringRes
Use on String
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.