-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Fix header crash in History list view #12214
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
Conversation
… issue TeamNewPipe#4475 in StatisticsPlaylistFragment
This reverts commit ab73dc1.
…s to fix issue TeamNewPipe#4475 in StatisticsPlaylistFragment" This reverts commit 2abe71c.
After further testing I found that prior commits did fix the issue, but only because it broke an animation being applied to the header in BaseLocalListFragment. This animation was the cause of the problem. I decided to simply remove the animation instead. This animation seems to be causing an issue with the recycling of the header. If anyone has a better solution that would allow the animation to be kept please let me know! Personally: I can't tell the difference with or without the animation, even on a 120hz display. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think removing this animation cannot hurt, so let’s merge (even though I can’t reproduce here, other people will have to say if that fixes it :))
@j-haldane thanks a lot for this, we have tried to investigate #4475 multiple times to no avail, so it's great to see it's finally getting fixed! |
* Adapt header handling changes from other recyclerview adapters to fix issue TeamNewPipe#4475 in StatisticsPlaylistFragment * Remove unneeded LayoutInflater * Revert "Remove unneeded LayoutInflater" This reverts commit ab73dc1. * Revert "Adapt header handling changes from other recyclerview adapters to fix issue TeamNewPipe#4475 in StatisticsPlaylistFragment" This reverts commit 2abe71c. * Remove header animation causing view recycling issue
@j-haldane would you look into it again?as it hasn't fully fixed the crash, please see the comment in the linked issue. |
* Adapt header handling changes from other recyclerview adapters to fix issue TeamNewPipe#4475 in StatisticsPlaylistFragment * Remove unneeded LayoutInflater * Revert "Remove unneeded LayoutInflater" This reverts commit ab73dc1. * Revert "Adapt header handling changes from other recyclerview adapters to fix issue TeamNewPipe#4475 in StatisticsPlaylistFragment" This reverts commit 2abe71c. * Remove header animation causing view recycling issue
What is it?
Description of the changes in your PR
Before/After Screenshots/Screen Record
Fixes the following issue(s)
Due diligence