Class UICollectionViewLayoutInvalidationContext

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol
Direct Known Subclasses:
UICollectionViewFlowLayoutInvalidationContext

public class UICollectionViewLayoutInvalidationContext
extends NSObject
  • Constructor Details

    • UICollectionViewLayoutInvalidationContext

      public UICollectionViewLayoutInvalidationContext()
    • UICollectionViewLayoutInvalidationContext

      protected UICollectionViewLayoutInvalidationContext​(NSObject.Handle h, long handle)
    • UICollectionViewLayoutInvalidationContext

      protected UICollectionViewLayoutInvalidationContext​(NSObject.SkipInit skipInit)
  • Method Details

    • invalidatesEverything

      public boolean invalidatesEverything()
    • invalidatesDataSourceCounts

      public boolean invalidatesDataSourceCounts()
    • getInvalidatedItemIndexPaths

      public NSArray<NSIndexPath> getInvalidatedItemIndexPaths()
    • getInvalidatedSupplementaryIndexPaths

      public NSArray<NSIndexPath> getInvalidatedSupplementaryIndexPaths()
    • getInvalidatedDecorationIndexPaths

      public NSArray<NSIndexPath> getInvalidatedDecorationIndexPaths()
    • getContentOffsetAdjustment

      public CGPoint getContentOffsetAdjustment()
    • setContentOffsetAdjustment

      public void setContentOffsetAdjustment​(CGPoint v)
    • getContentSizeAdjustment

      public CGSize getContentSizeAdjustment()
    • setContentSizeAdjustment

      public void setContentSizeAdjustment​(CGSize v)
    • getPreviousIndexPathsForInteractivelyMovingItems

      public NSArray<NSIndexPath> getPreviousIndexPathsForInteractivelyMovingItems()
      Since:
      Available in iOS 9.0 and later.
    • getTargetIndexPathsForInteractivelyMovingItems

      public NSArray<NSIndexPath> getTargetIndexPathsForInteractivelyMovingItems()
      Since:
      Available in iOS 9.0 and later.
    • getInteractiveMovementTarget

      public CGPoint getInteractiveMovementTarget()
      Since:
      Available in iOS 9.0 and later.
    • invalidateItems

      public void invalidateItems​(NSArray<NSIndexPath> indexPaths)
    • invalidateSupplementaryElementsOfKind

      public void invalidateSupplementaryElementsOfKind​(String elementKind, NSArray<NSIndexPath> indexPaths)
    • invalidateDecorationElementsOfKind

      public void invalidateDecorationElementsOfKind​(String elementKind, NSArray<NSIndexPath> indexPaths)