OnRegisterRanges

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