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

A question for the RxTableViewSectionedReloadDataSource #341

Open
lzhlewis2015 opened this issue Oct 30, 2019 · 1 comment
Open

A question for the RxTableViewSectionedReloadDataSource #341

lzhlewis2015 opened this issue Oct 30, 2019 · 1 comment

Comments

@lzhlewis2015
Copy link

If i only use the RxTableViewSectionedReloadDataSource to do the databinding on tableview,
will it also calculate the diff before and after the datasource change? or just reload the tableview every time?

@lordzsolt
Copy link
Member

lordzsolt commented Jan 15, 2020

If you look through the code, it simply calls reloadData for every change.

Which is more performant than calculating diffs and applying them with tableView.performBatchUpdates.

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

No branches or pull requests

2 participants