UICollectionViewDelegate_Extensions.ShouldSpringLoadItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath, IUISpringLoadedInteractionContext) UICollectionViewDelegate_Extensions.ShouldSpringLoadItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath, IUISpringLoadedInteractionContext) Method

Definition

Method that is called to indicate whether the identified item should springload in the specified context.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ShouldSpringLoadItem (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath, UIKit.IUISpringLoadedInteractionContext context);
static member ShouldSpringLoadItem : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool

Parameters

This
IUICollectionViewDelegate IUICollectionViewDelegate

The instance on which this extension method operates.

collectionView
UICollectionView UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath NSIndexPath

The index path to the item.

context
IUISpringLoadedInteractionContext IUISpringLoadedInteractionContext

The spring-loaded interaction context.

Returns

Applies to