Package org.robovm.apple.uikit
Interface UICollectionViewDelegate
-
- All Superinterfaces:
NSObjectProtocol
,org.robovm.objc.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 Detail
-
shouldHighlightItem
boolean shouldHighlightItem(UICollectionView collectionView, NSIndexPath indexPath)
-
didHighlightItem
void didHighlightItem(UICollectionView collectionView, NSIndexPath indexPath)
-
didUnhighlightItem
void didUnhighlightItem(UICollectionView collectionView, NSIndexPath indexPath)
-
shouldSelectItem
boolean shouldSelectItem(UICollectionView collectionView, NSIndexPath indexPath)
-
shouldDeselectItem
boolean shouldDeselectItem(UICollectionView collectionView, NSIndexPath indexPath)
-
didSelectItem
void didSelectItem(UICollectionView collectionView, NSIndexPath indexPath)
-
didDeselectItem
void didDeselectItem(UICollectionView collectionView, NSIndexPath indexPath)
-
willDisplayCell
void willDisplayCell(UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath)
- Since:
- Available in iOS 8.0 and later.
-
willDisplaySupplementaryView
void willDisplaySupplementaryView(UICollectionView collectionView, UICollectionReusableView view, java.lang.String elementKind, NSIndexPath indexPath)
- Since:
- Available in iOS 8.0 and later.
-
didEndDisplayingCell
void didEndDisplayingCell(UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath)
-
didEndDisplayingSupplementaryView
void didEndDisplayingSupplementaryView(UICollectionView collectionView, UICollectionReusableView view, java.lang.String elementKind, NSIndexPath indexPath)
-
shouldShowMenuForItem
boolean shouldShowMenuForItem(UICollectionView collectionView, NSIndexPath indexPath)
-
canPerformAction
boolean canPerformAction(UICollectionView collectionView, org.robovm.objc.Selector action, NSIndexPath indexPath, NSObject sender)
-
performAction
void performAction(UICollectionView collectionView, org.robovm.objc.Selector action, NSIndexPath indexPath, NSObject sender)
-
getTransitionLayout
UICollectionViewTransitionLayout getTransitionLayout(UICollectionView collectionView, UICollectionViewLayout fromLayout, UICollectionViewLayout toLayout)
-
canFocusItem
boolean canFocusItem(UICollectionView collectionView, NSIndexPath indexPath)
- 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
NSIndexPath getIndexPathForPreferredFocusedView(UICollectionView collectionView)
- Since:
- Available in iOS 9.0 and later.
-
getTargetIndexPathForMoveFromItem
NSIndexPath getTargetIndexPathForMoveFromItem(UICollectionView collectionView, NSIndexPath originalIndexPath, NSIndexPath proposedIndexPath)
- Since:
- Available in iOS 9.0 and later.
-
getTargetContentOffsetForProposedContentOffset
CGPoint getTargetContentOffsetForProposedContentOffset(UICollectionView collectionView, CGPoint proposedContentOffset)
- Since:
- Available in iOS 9.0 and later.
-
shouldSpringLoadItem
boolean shouldSpringLoadItem(UICollectionView collectionView, NSIndexPath indexPath, UISpringLoadedInteractionContext context)
- Since:
- Available in iOS 11.0 and later.
-
-