UICollectionViewSource.ShouldSpringLoadItem Método

Definición

Método al que se llama para indicar si el elemento identificado debe springload en el contexto especificado.

[Foundation.Export("collectionView:shouldSpringLoadItemAtIndexPath:withContext:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldSpringLoadItem (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath, UIKit.IUISpringLoadedInteractionContext context);
abstract member ShouldSpringLoadItem : UIKit.UICollectionView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool
override this.ShouldSpringLoadItem : UIKit.UICollectionView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool

Parámetros

collectionView
UICollectionView

Vista de colección que originó la solicitud.

indexPath
NSIndexPath

Ruta de acceso de índice al elemento.

context
IUISpringLoadedInteractionContext

Contexto de interacción cargado por spring.

Devoluciones

Atributos

Se aplica a