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

Blinking after changing item heigth #166

Open
achatina opened this issue Nov 23, 2018 · 0 comments
Open

Blinking after changing item heigth #166

achatina opened this issue Nov 23, 2018 · 0 comments

Comments

@achatina
Copy link

achatina commented Nov 23, 2018

Met the problem that after notifying adapter animation have a strange behavior.

If during this notifying holder height was changed (e.g. some view visibility changed to GONE), the item of adapter blinks and after that it start it's animation of changing height. Is there any way to remove blink effect?

My ViewHolder's implements AnimateViewHolder and RV uses SlideInUpAnimator():

messagesRecyclerView.itemAnimator = SlideInUpAnimator()
messagesRecyclerView.itemAnimator?.addDuration = 500
messagesRecyclerView.itemAnimator?.moveDuration = 500

Already tried this solution, but it didn't help

@achatina achatina changed the title Blinking after changing holder heigth Blinking after changing item heigth Nov 23, 2018
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

1 participant