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

refactor:tableview perform safe batch updates. #491

Closed
wants to merge 2 commits into from

Conversation

Xcoder1011
Copy link
Collaborator

question:

UITableView internal inconsistency: _visibleRows and _visibleCells must be of same length. _visibleRows: {0, 10}; _visibleCells.count: 20, _visibleCells: (
"<DoricTableViewCell: 0x15aa553a0; baseClass = UITableViewCell; frame = (0 0; 414 74); autoresize = W; layer = <CALayer: 0x284c61280>>",

参考了

  1. https://stackoverflow.com/questions/47244941/uitableview-internal-inconsistency-visiblerows-and-visiblecells-must-be-of-sa

  2. Fix internal inconsistency exceptions caused by cell updates xmartlabs/Eureka#2195

@Xcoder1011 Xcoder1011 closed this Jun 29, 2022
@penfeizhou penfeizhou deleted the fixListSafeReload branch July 8, 2022 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant