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

Delegate hasStableIds to wrapped adapter #187

Merged
merged 1 commit into from Aug 28, 2020

Conversation

lcdsmao
Copy link
Contributor

@lcdsmao lcdsmao commented Aug 28, 2020

What does this change?

RecyclerView behavior can change based on hasStableIds, it's better to delegate hasStableIds to the wrapped adapter.
Noticed that hasStableIds is final, so we cannot completely delegate the behavior to the wrapped adapter.

What is the value of this and can you measure success?

hasStableIds works properply

Screenshots

No

@wasabeef
Copy link
Owner

@lcdsmao Goog job.

@wasabeef wasabeef merged commit ca8962f into wasabeef:master Aug 28, 2020
@wasabeef wasabeef added this to the 4.0.1 milestone Aug 28, 2020
@lcdsmao lcdsmao deleted the lcdsmao/respect-hasstableids branch August 28, 2020 11:15
@wasabeef
Copy link
Owner

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.

None yet

2 participants