Package 

Interface RecyclerView.LayoutManager.LayoutPrefetchRegistry

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.