OnRegisterRanges

Deprecated

Deprecated: Please avoid using this annotation and it will be not supported in the future release

The method annotated with this annotation will be called to register working ranges for the LayoutSpec.

For example

@LayoutSpec
  public class ComponentSpec {

   @OnRegisterRanges
    static void registerWorkingRanges(
        ComponentContext c,@Prop WorkingRange workingRange) {
    }
  }

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String