public class BoundaryWorkingRange extends java.lang.Object implements WorkingRange
Constructor and Description |
---|
BoundaryWorkingRange() |
BoundaryWorkingRange(int offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldEnterRange(int position,
int firstVisibleIndex,
int lastVisibleIndex,
int firstFullyVisibleIndex,
int lastFullyVisibleIndex)
Return true to trigger@OnEnteredRange method defined in the component, do nothing
otherwise.
|
boolean |
shouldExitRange(int position,
int firstVisibleIndex,
int lastVisibleIndex,
int firstFullyVisibleIndex,
int lastFullyVisibleIndex)
Return true to trigger@OnExitedRange method defined in the component, do nothing
otherwise.
|
public BoundaryWorkingRange()
public BoundaryWorkingRange(int offset)
public boolean shouldEnterRange(int position, int firstVisibleIndex, int lastVisibleIndex, int firstFullyVisibleIndex, int lastFullyVisibleIndex)
WorkingRange
shouldEnterRange
in interface WorkingRange
public boolean shouldExitRange(int position, int firstVisibleIndex, int lastVisibleIndex, int firstFullyVisibleIndex, int lastFullyVisibleIndex)
WorkingRange
shouldExitRange
in interface WorkingRange