android.support.annotation.IntRange |
Denotes that the annotated element should be an int or long in the given range
Example:
@IntRange(from=0,to=255)
public int getAlpha() {
...
}
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.lang.annotation.Annotation
|
Except as noted, this content is licensed under Apache 2.0. For details and restrictions, see the Content License.
Android 6.0 r1 —
* Required Fields
You have successfully signed up for the latest Android developer news and tips.