We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collectionview在做insert的时候,有一定几率触发,出现过几次
collectionView.performBatchUpdates { collectionView.insertItems(at: idx) } completion: { _ in }
参考1https://stackoverflow.com/questions/30562493/no-uicollectionviewlayoutattributes-instance-for-layoutattributesforitematinde 参考2https://stackoverflow.com/questions/38005641/no-uicollectionviewlayoutattributes-instance-for-layoutattributesforsupplementa 参考3https://stackoverflow.com/questions/20436022/using-uicollectionview-performbatchupdates-with-a-uicollectionviewflowlayout
The text was updated successfully, but these errors were encountered:
能不能提供一个demo给我测试?
Sorry, something went wrong.
这个问题有解吗?我也遇到在 performBatchUpdates 删除的时候,布局会整个重新计算 导致闪一下
能否去掉动画?
因为本身做了diff刷新,不会走reloaddata, 大部分情况都是通过 performBatchUpdates 来动画实现的
No branches or pull requests
collectionview在做insert的时候,有一定几率触发,出现过几次
参考1https://stackoverflow.com/questions/30562493/no-uicollectionviewlayoutattributes-instance-for-layoutattributesforitematinde
参考2https://stackoverflow.com/questions/38005641/no-uicollectionviewlayoutattributes-instance-for-layoutattributesforsupplementa
参考3https://stackoverflow.com/questions/20436022/using-uicollectionview-performbatchupdates-with-a-uicollectionviewflowlayout
The text was updated successfully, but these errors were encountered: