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

Diff utils would be helpful here #2

Closed
splundid opened this issue May 29, 2020 · 1 comment
Closed

Diff utils would be helpful here #2

splundid opened this issue May 29, 2020 · 1 comment

Comments

@splundid
Copy link

recyclerView_photos.adapter?.notifyDataSetChanged()

This code redraws the whole adapter even though some items may be intact

@RustemMuzafarov
Copy link
Collaborator

There is no need - all items have to be changed anyway, so DiffUtil won't make any difference.

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