Package org.robovm.apple.uikit
Interface UICollectionViewDelegate
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol,UIScrollViewDelegate
- All Known Subinterfaces:
UICollectionViewDelegateFlowLayout
- All Known Implementing Classes:
UICollectionViewController,UICollectionViewDelegateAdapter,UICollectionViewDelegateFlowLayoutAdapter,UICollectionViewModel
public interface UICollectionViewDelegate extends UIScrollViewDelegate
-
Method Summary
Methods inherited from interface org.robovm.apple.uikit.UIScrollViewDelegate
didEndDecelerating, didEndDragging, didEndScrollingAnimation, didEndZooming, didScroll, didScrollToTop, didZoom, getViewForZooming, scrollViewDidChangeAdjustedContentInset, shouldScrollToTop, willBeginDecelerating, willBeginDragging, willBeginZooming, willEndDragging
-
Method Details
-
shouldHighlightItem
-
didHighlightItem
-
didUnhighlightItem
-
shouldSelectItem
-
shouldDeselectItem
-
didSelectItem
-
didDeselectItem
-
willDisplayCell
void willDisplayCell(UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath) -
willDisplaySupplementaryView
void willDisplaySupplementaryView(UICollectionView collectionView, UICollectionReusableView view, String elementKind, NSIndexPath indexPath) -
didEndDisplayingCell
void didEndDisplayingCell(UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath) -
didEndDisplayingSupplementaryView
void didEndDisplayingSupplementaryView(UICollectionView collectionView, UICollectionReusableView view, String elementKind, NSIndexPath indexPath) -
shouldShowMenuForItem
Deprecated.Deprecated in iOS 13.0. Use collectionView:contextMenuConfigurationForItemAtIndexPath: -
canPerformAction
@Deprecated boolean canPerformAction(UICollectionView collectionView, Selector action, NSIndexPath indexPath, NSObject sender)Deprecated.Deprecated in iOS 13.0. Use collectionView:contextMenuConfigurationForItemAtIndexPath: -
performAction
@Deprecated void performAction(UICollectionView collectionView, Selector action, NSIndexPath indexPath, NSObject sender)Deprecated.Deprecated in iOS 13.0. Use collectionView:contextMenuConfigurationForItemAtIndexPath: -
getTransitionLayout
UICollectionViewTransitionLayout getTransitionLayout(UICollectionView collectionView, UICollectionViewLayout fromLayout, UICollectionViewLayout toLayout) -
canFocusItem
- Since:
- Available in iOS 9.0 and later.
-
shouldUpdateFocus
boolean shouldUpdateFocus(UICollectionView collectionView, UICollectionViewFocusUpdateContext context)- Since:
- Available in iOS 9.0 and later.
-
didUpdateFocus
void didUpdateFocus(UICollectionView collectionView, UICollectionViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)- Since:
- Available in iOS 9.0 and later.
-
getIndexPathForPreferredFocusedView
- Since:
- Available in iOS 9.0 and later.
-
isSelectionFollowsFocus
- Since:
- Available in iOS 15.0 and later.
-
getTargetIndexPathForMoveOfItemFromOriginalIndexPath
NSIndexPath getTargetIndexPathForMoveOfItemFromOriginalIndexPath(UICollectionView collectionView, NSIndexPath originalIndexPath, NSIndexPath currentIndexPath, NSIndexPath proposedIndexPath)- Since:
- Available in iOS 15.0 and later.
-
getTargetIndexPathForMoveFromItem
@Deprecated NSIndexPath getTargetIndexPathForMoveFromItem(UICollectionView collectionView, NSIndexPath currentIndexPath, NSIndexPath proposedIndexPath)Deprecated.Deprecated in iOS 15.0. Use collectionView:targetIndexPathForMoveOfItemFromOriginalIndexPath:atCurrentIndexPath:toProposedIndexPath:- Since:
- Available in iOS 9.0 and later.
-
getTargetContentOffsetForProposedContentOffset
CGPoint getTargetContentOffsetForProposedContentOffset(UICollectionView collectionView, CGPoint proposedContentOffset)- Since:
- Available in iOS 9.0 and later.
-
canEditItem
- Since:
- Available in iOS 14.0 and later.
-
shouldSpringLoadItem
boolean shouldSpringLoadItem(UICollectionView collectionView, NSIndexPath indexPath, UISpringLoadedInteractionContext context)- Since:
- Available in iOS 11.0 and later.
-
shouldBeginMultipleSelectionInteraction
boolean shouldBeginMultipleSelectionInteraction(UICollectionView collectionView, NSIndexPath indexPath)- Since:
- Available in iOS 13.0 and later.
-
didBeginMultipleSelectionInteraction
- Since:
- Available in iOS 13.0 and later.
-
collectionViewDidEndMultipleSelectionInteraction
- Since:
- Available in iOS 13.0 and later.
-
getContextMenuConfiguration
UIContextMenuConfiguration getContextMenuConfiguration(UICollectionView collectionView, NSIndexPath indexPath, CGPoint point)- Since:
- Available in iOS 13.0 and later.
-
getPreviewForHighlightingContextMenu
UITargetedPreview getPreviewForHighlightingContextMenu(UICollectionView collectionView, UIContextMenuConfiguration configuration)- Since:
- Available in iOS 13.0 and later.
-
getPreviewForDismissingContextMenu
UITargetedPreview getPreviewForDismissingContextMenu(UICollectionView collectionView, UIContextMenuConfiguration configuration)- Since:
- Available in iOS 13.0 and later.
-
willPerformPreviewAction
void willPerformPreviewAction(UICollectionView collectionView, UIContextMenuConfiguration configuration, UIContextMenuInteractionCommitAnimating animator)- Since:
- Available in iOS 13.0 and later.
-
willDisplayContextMenu
void willDisplayContextMenu(UICollectionView collectionView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)- Since:
- Available in iOS 13.2 and later.
-
willEndContextMenuInteraction
void willEndContextMenuInteraction(UICollectionView collectionView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)- Since:
- Available in iOS 13.2 and later.
-
getSceneActivationConfiguration
UIWindowSceneActivationConfiguration getSceneActivationConfiguration(UICollectionView collectionView, NSIndexPath indexPath, CGPoint point)- Since:
- Available in iOS 15.0 and later.
-