You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Known workarounds - in terms of DTCollectionViewManager:
Do not call reloadData method manually, use other methods on MemoryStorage or CoreDataStorage
Try to group updates into single update block vs calling many blocks all at once - If needed drop to SectionModel level of abstraction.
You can implement your own CollectionViewUpdater, that calls reloadData instead of calling performBatchUpdates, however this will cost you animations, that will not be performed.
Any help or ideas how to implement maintainable solution are welcomed!
The text was updated successfully, but these errors were encountered:
There's is a known issue with UICollectionView, that crashes application if reloadData call was sent prior to performBatchUpdates method.
Radar: https://openradar.appspot.com/28167779
Sample: https://github.com/PSPDFKit-labs/radar.apple.com/tree/master/28167779%20-%20CollectionViewBatchingIssue
Known workarounds - in terms of DTCollectionViewManager:
MemoryStorage
orCoreDataStorage
SectionModel
level of abstraction.CollectionViewUpdater
, that callsreloadData
instead of callingperformBatchUpdates
, however this will cost you animations, that will not be performed.Any help or ideas how to implement maintainable solution are welcomed!
The text was updated successfully, but these errors were encountered: