| Annotation Type | Description |
|---|---|
| AnimatorRes |
Denotes that an integer parameter, field or method return value is expected
to be an animator resource reference (e.g.
|
| AnimRes |
Denotes that an integer parameter, field or method return value is expected
to be an anim resource reference (e.g.
|
| AnyRes |
Denotes that an integer parameter, field or method return value is expected
to be a resource reference of any type.
|
| ArrayRes |
Denotes that an integer parameter, field or method return value is expected
to be an array resource reference (e.g.
|
| AttrRes |
Denotes that an integer parameter, field or method return value is expected
to be an attribute reference (e.g.
|
| BoolRes |
Denotes that an integer parameter, field or method return value is expected
to be a boolean resource reference.
|
| ColorRes |
Denotes that an integer parameter, field or method return value is expected
to be a color resource reference (e.g.
|
| DimenRes |
Denotes that an integer parameter, field or method return value is expected
to be a dimension resource reference (e.g.
|
| DrawableRes |
Denotes that an integer parameter, field or method return value is expected
to be a drawable resource reference (e.g.
|
| FractionRes |
Denotes that an integer parameter, field or method return value is expected
to be a fraction resource reference.
|
| IdRes |
Denotes that an integer parameter, field or method return value is expected
to be an id resource reference (e.g.
|
| IntDef |
Denotes that the annotated element of integer type, represents
a logical type and that its value should be one of the explicitly
named constants.
|
| IntegerRes |
Denotes that an integer parameter, field or method return value is expected
to be an integer resource reference (e.g.
|
| InterpolatorRes |
Denotes that an integer parameter, field or method return value is expected
to be an interpolator resource reference (e.g.
|
| LayoutRes |
Denotes that an integer parameter, field or method return value is expected
to be a layout resource reference (e.g.
|
| MenuRes |
Denotes that an integer parameter, field or method return value is expected
to be a menu resource reference.
|
| NonNull |
Denotes that a parameter, field or method return value can never be null.
|
| Nullable |
Denotes that a parameter, field or method return value can be null.
|
| PluralsRes |
Denotes that an integer parameter, field or method return value is expected
to be a plurals resource reference.
|
| RawRes |
Denotes that an integer parameter, field or method return value is expected
to be a raw resource reference.
|
| StringDef |
Denotes that the annotated String element, represents a logical
type and that its value should be one of the explicitly named constants.
|
| StringRes |
Denotes that an integer parameter, field or method return value is expected
to be a String resource reference (e.g.
|
| StyleableRes |
Denotes that a integer parameter, field or method return value is expected
to be a styleable resource reference (e.g.
|
| StyleRes |
Denotes that a integer parameter, field or method return value is expected
to be a style resource reference (e.g.
|
| XmlRes |
Denotes that an integer parameter, field or method return value is expected
to be an XML resource reference.
|