mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-21 08:18:35 +00:00
Summary: Issue: There's a couple of situations where `IGListAdapterUpdater` updates the `collectionView` without notifying the `IGListAdapterUpdater`. * If we call `reloadDataFallback()` because of a missing window, there's no delegate calls. * If we call `reloadDataFallback()` because of too many diff updates, we call `willPerformBatchUpdatesWithCollectionView` but not `didPerformBatchUpdates`. Fix: Lets clean up the delegate calls * If we `[UICollectioView performBatchUpdates:]` lets call `willPerformBatchUpdatesWithCollectionView` & `didPerformBatchUpdates` * If we fallback to `[UICollectionView reloadData]` lets call `willReloadDataWithCollectionView` & `didReloadDataWithCollectionView` * If we fallback to doing nothing, lets call `didFinishWithoutUpdates` Reviewed By: Haud Differential Revision: D22219236 fbshipit-source-id: 1afb4df8dbbaf4725424027bb52c1a5cc5100b30 |
||
|---|---|---|
| .. | ||
| IGListDiffKit | ||
| IGListKit | ||
| IGListSwiftKit | ||
| Info.plist | ||