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

Flashing divider when notifying multiple items changed #26

Closed
tom-pratt opened this issue Jan 18, 2016 · 3 comments
Closed

Flashing divider when notifying multiple items changed #26

tom-pratt opened this issue Jan 18, 2016 · 3 comments

Comments

@tom-pratt
Copy link

I'm using radio buttons in my cells in a horizontal linear layout.

I noticed that when calling notifyItemChanged on two cells at the same time, one to uncheck the radio button and one to check the radio button. That the dividers flash and glitch weirdly.

The above can be worked around by calling notifyDataSetChanged(). But the same problem occurs when calling notifyItemRemoved and notifyItemChanged at the same time which I haven't been able to work around whilst still getting the removed animation.

Thanks,
Tom

Example project
https://github.com/Sylapse/DividerSample.git

@yqritc
Copy link
Owner

yqritc commented Jan 20, 2016

@sylapse
Thanks for reporting this.
It seems old logic to handle recyclerview animator causes this problem.
I'll fix this and publish new version.

@yqritc
Copy link
Owner

yqritc commented Jan 20, 2016

@sylapse
I just published new version v1.2.8.
Please try it.

@yqritc yqritc closed this as completed Jan 20, 2016
@tom-pratt
Copy link
Author

@yqritc that has fixed it for me.

Thanks for the quick fix. Has helped me a lot with my current project!

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