Instagram / Instagram/IGListKit

Method to Get Old Index Path for New Index Path in Update

Open
#672 7 comments 0 reactions 0 assignees View on GitHub
enhancement proposal
Dominant language
Objective-C
Stars
13.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

In https://github.com/TextureGroup/Texture we're looking to support using NodeControllers for each item, and having the NodeController survive across object updates (`reloadItemsAtIndexPaths:`) just like IGListSectionControllers do.

Since IGListKit submits reloads as delete/insert pairs, I can't see any public way for us to find out whether, in a given batch update, an insert corresponds to a delete – if an item was updated.

@rnystrom @jessesquires Would you be willing to support that or point me in the right direction?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.