Interface UICollectionViewDataSourcePrefetching


  • public interface UICollectionViewDataSourcePrefetching
    • Method Detail

      • collectionViewCancelPrefetchingForItemsAtIndexPaths

        default void collectionViewCancelPrefetchingForItemsAtIndexPaths​(UICollectionView collectionView,
                                                                         NSArray<? extends NSIndexPath> indexPaths)
        indexPaths that previously were considered as candidates for pre-fetching, but were not actually used; may be a subset of the previous call to -collectionView:prefetchItemsAtIndexPaths:
      • collectionViewPrefetchItemsAtIndexPaths

        void collectionViewPrefetchItemsAtIndexPaths​(UICollectionView collectionView,
                                                     NSArray<? extends NSIndexPath> indexPaths)
        indexPaths are ordered ascending by geometric distance from the collection view