mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-24 01:38:26 +00:00
Update doc in IGListAdapterUpdater
Summary: Make the comment doc block more concise. Reviewed By: calimarkus Differential Revision: D9596272 fbshipit-source-id: 1b957bb5a68a167d99c2cdd5874416d19f0a088b
This commit is contained in:
parent
3cf7e3e95c
commit
66742f2309
1 changed files with 5 additions and 5 deletions
|
|
@ -37,11 +37,11 @@ NS_SWIFT_NAME(ListAdapterUpdater)
|
|||
@property (nonatomic, assign) BOOL movesAsDeletesInserts;
|
||||
|
||||
/**
|
||||
A flag indicating that during section reloads, if the number of items for the section is unchanged, we should
|
||||
prefer to generate item reloads instead of treating as "delete section, then insert section" operation.
|
||||
Instead, we would generate updated indexPaths to be used in `-[UICollectionView reloadItemsAtIndexPaths:]` during updates.
|
||||
|
||||
@note If the number of items for the section is changed, we would fallback to do the "delete section, then insert section" operation.
|
||||
A flag indicating that section reloads should be treated as item reloads, instead of converting them to "delete, then insert" operations.
|
||||
This only applies if the number of items for the section is unchanged.
|
||||
|
||||
@note If the number of items for the section is changed, we would fallback to the default behavior and convert it to "delete + insert",
|
||||
because the collectionView can crash otherwise.
|
||||
|
||||
Default is NO.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue