@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface BindColor
int or
ColorStateList.
@BindColor(R.color.background_green) int green;
@BindColor(R.color.background_green_selector) ColorStateList greenSelector;
| Modifier and Type | Required Element and Description |
|---|---|
int |
value
Color resource ID to which the field will be bound.
|