-
public interface RecyclerView.LayoutManager.LayoutPrefetchRegistry
Interface for LayoutManagers to request items to be prefetched, based on position, withspecified distance from viewport, which indicates priority.
-
-
Method Summary
Modifier and Type Method Description abstract void
addPosition(int layoutPosition, int pixelDistance)
Requests an an item to be prefetched, based on position, with a specified distance,indicating priority. -
-
Method Detail
-
addPosition
abstract void addPosition(int layoutPosition, int pixelDistance)
Requests an an item to be prefetched, based on position, with a specified distance,indicating priority.
- Parameters:
layoutPosition
- Position of the item to prefetch.pixelDistance
- Distance from the current viewport to the bounds of the item,must be non-negative.
-
-
-
-