IGListKit/Source
Maxime Ollivier 29bf582f47 fix IGListAdapterUpdaterDelegate
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
2020-06-26 10:07:13 -07:00
..
IGListDiffKit remove IGListExperimentFixIndexPathImbalance 2020-06-02 13:04:26 -07:00
IGListKit fix IGListAdapterUpdaterDelegate 2020-06-26 10:07:13 -07:00
IGListSwiftKit remove non-existing parameters from docblock (#1412) 2019-12-20 10:59:06 -08:00
Info.plist Refine dequeueReusableCellOfClass methods for Swift (#1388) 2019-12-19 08:13:22 -08:00