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) {
}
}
Content copied to clipboard