-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix IGListExperimentFixCrashOnReloadObjects
Summary: There's a couple issues with `IGListExperimentFixCrashOnReloadObjects` (D47281472): 1. We're calling `_updateBackgroundView` in the completion block, which might be called many times for a single transaction. 2. On animated updates, the background view will appear after the animation, which doesn't look great. Btw, this happens if you update the count via an item-block update, but maybe we can fix this separatly to keep things simple. Instead of calling `_updateBackgroundView` in the completion block, lets go back to calling it within `_updateWithData`, but not check `isInDataUpdateBlock` to keep the current behavior. Reviewed By: fabiomassimo Differential Revision: D50752236 fbshipit-source-id: c742d9d64a93f1f2e1a48d85f832720d9350c545
- Loading branch information
1 parent
ee9fe50
commit b3d4313
Showing
1 changed file
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters