UICollectionViewLayoutInvalidationContext.InvalidateItems(NSIndexPath[]) UICollectionViewLayoutInvalidationContext.InvalidateItems(NSIndexPath[]) Method

Definition

Adds cells in the specified index paths to an invalid item list.

[Foundation.Export("invalidateItemsAtIndexPaths:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void InvalidateItems (Foundation.NSIndexPath[] indexPaths);
abstract member InvalidateItems : Foundation.NSIndexPath[] -> unit
override this.InvalidateItems : Foundation.NSIndexPath[] -> unit

Parameters

indexPaths
NSIndexPath[]

An array of index path objects.

Remarks

Call this for the identification of the specific cells of your layout that require updates.

Applies to