Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix binding SC cell updates when the SC's section changes. #1144

Closed

Conversation

ccrazy88
Copy link
Contributor

@ccrazy88 ccrazy88 commented Apr 9, 2018

Changes in this pull request

Issue fixed: #1111

As discussed in the issue's comments, this seems to be the most expedient fix if we accept that cellForItemAtIndex: should be allowed within update blocks. I am not familiar enough with IGListAdapter to know whether this is the best solution but am willing to make any changes requested!

Checklist

  • All tests pass. Demo project builds and runs.
  • I added tests, an experiment, or detailed why my change isn't tested.
  • I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
  • I have reviewed the contributing guide

@facebook-github-bot
Copy link
Contributor

@ccrazy88 has updated the pull request. View: changes

@iglistkit-bot
Copy link

iglistkit-bot commented Apr 9, 2018

1 Warning
⚠️ All pull requests should have a milestone attached, unless marked #trivial.

Generated by 🚫 Danger

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rnystrom is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@rnystrom
Copy link
Contributor

Fantastic work @ccrazy88! That unit test is 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating cell in binding SC fails when SC section changes
4 participants