Most visited

Recently visited

FloatRange

public abstract @interface FloatRange
implements Annotation

android.support.annotation.FloatRange


表示注释的元素应该是给定范围内的float或double

例:


  @FloatRange(from=0.0,to=1.0)
  public float getAlpha() {
      ...
  }
 

Summary

Inherited methods

From interface java.lang.annotation.Annotation

Hooray!