mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-22 16:58:23 +00:00
Summary: Issue: Invalidating the layout of a `IGListSectionController` that's been removed from the map crashes, because we're passing `NSNotFound` to `[UICollectionView numberOfItemsInSection:...]`. This can easily happen if the section-controller invalidates its layout in a `performBatchAnimated` completion block, but the associated object was deleted during the update or after a full reload. Fix: Like the rest of `IGListAdapter`, lets check for a valid `NSInteger` and bail early if we don't have it. Reviewed By: mariajayne Differential Revision: D22588010 fbshipit-source-id: bf0c26f313795bb10682ef6b660d6ea8a7ce9f1e |
||
|---|---|---|
| .. | ||
| IGListDiffKit | ||
| IGListKit | ||
| IGListSwiftKit | ||
| Info.plist | ||