@Retention(value=CLASS)
public @interface OnExitedRange
For example
@LayoutSpec
public class ComponentSpec {
@OnExitedRange(name = "prefetch")
static void yourExitWorkingRangeMethod(ComponentContext c, @Prop YourObject obj) {
}
@OnRegisterRanges
static void yourRegisterMethod(
ComponentContext c, @Prop WorkingRange yourWorkingRange) {
Component.registerPrefetchWorkingRange(c, yourWorkingRange);
}
}
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name |