LXReorderableCollectionViewFlowLayout icon indicating copy to clipboard operation
LXReorderableCollectionViewFlowLayout copied to clipboard

cellForItemAtIndexPath returns nil on LXReorderableCollectionViewDelegateFlowLayout

Open yoobato opened this issue 11 years ago • 1 comments

Hi. I'm using your library through pods.

I have a problem. I have to catch the cell that is on dragging states.

In these delegates,

  • (void)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout willBeginDraggingItemAtIndexPath:(NSIndexPath *)indexPath;
  • (void)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout didBeginDraggingItemAtIndexPath:(NSIndexPath *)indexPath;
  • (void)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout willEndDraggingItemAtIndexPath:(NSIndexPath *)indexPath;
  • (void)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout didEndDraggingItemAtIndexPath:(NSIndexPath *)indexPath;

[collectionView cellForItemAtIndexPath:indexPath] returns nil.

This problem occurs your sample demo projects too. Please check this issues. Thanks.

yoobato avatar May 21 '14 02:05 yoobato

+1

yakubbaev avatar Sep 11 '14 07:09 yakubbaev