Fix header crash in History list view#12214
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. |
|
Profpatsch
left a comment
There was a problem hiding this comment.
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