Most visited

Recently visited

IntRange

public abstract @interface IntRange
implements Annotation

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() {
      ...
  }
 

Summary

Inherited methods

From interface java.lang.annotation.Annotation

Hooray!