次の方法で共有


UICollectionViewDelegate.ShouldSpringLoadItem メソッド

定義

指定したコンテキストで識別された項目を読み込むかどうかを示すために呼び出されるメソッド。

[Foundation.Export("collectionView:shouldSpringLoadItemAtIndexPath:withContext:")]
[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 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

パラメーター

collectionView
UICollectionView

要求を開始したコレクション ビュー。

indexPath
NSIndexPath

項目へのインデックス パス。

context
IUISpringLoadedInteractionContext

spring-loaded 相互作用コンテキスト。

戻り値

属性

適用対象