-
Notifications
You must be signed in to change notification settings - Fork 719
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
Bad recycling in RecyclerView #12
Comments
Facing the same problem. Not able to solve it. @dev-alepage Please let me know if you find the solution |
I had the same problem too. |
I had modified this according to my need and hopefully not getting this issue. Take a look. This is how i used it. holder.mSampleLayout.setHoverView(holder.llBottom); holder.mSampleLayout.addChildDisappearAnimator(holder.llBottom, holder.tvVideoName, Techniques.FlipOutX, 550, 250); holder.mSampleLayout.addChildAppearAnimator(holder.llBottom, holder.tvDownloadPlay, Techniques.Landing); |
@jontyankit can you share your source code? do you have hover_sample.xml in your layout? I was working on it but it doesnt show anything I dont get error either. |
In a RecyclerView (I think it causes the same problem in ListView or GridView), when I set an HoverView on a cell, after scrolling, the HoverView is not recycled.
So, if I select one visible item and scroll, I find the state of the previously selected item in another item of the list.
Do you have an idea of the correct way to implement HoverView recycling on scroll ?
The text was updated successfully, but these errors were encountered: