lxcid/LXReorderableCollectionViewFlowLayout

cellForItemAtIndexPath returns nil on LXReorderableCollectionViewDelegateFlowLayout

yoobato opened this issue · 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.