ELCVFlowLayout icon indicating copy to clipboard operation
ELCVFlowLayout copied to clipboard

reloadData 会导致 显示错乱不堪!!!

Open wustzhy opened this issue 7 years ago • 1 comments

hello 兄台, 为什么 在里面写了一个刷新 就不行了呢? 不信 你试试你的demo

  • (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath { NSLog(@"section %ld row --- %ld",indexPath.section, indexPath.row);

    [collectionView reloadData]; }

wustzhy avatar Jul 21 '17 02:07 wustzhy

您好,已经修改了,把_sectionDic = [NSMutableDictionary dictionary];的位置放到- (void)prepareLayout这个方法里面就ok了

elite-kai avatar Jul 21 '17 05:07 elite-kai