Allow Downloads Home v2 RecyclerView to reuse holders
It turns out that only setting the change animation duration to 0 doesn't tell the default ItemAnimator that it can reuse ViewHolders. This is because it still attempts to animate between the old and new ViewHolder Views. Setting a payload seems to bypass this as well though. This patch disables change animations completely for the Download Home v2 RecyclerView ItemAnimator. Change-Id: I633b6408a73c55da26a608d07ec564bf82737ee5 Reviewed-on: https://chromium-review.googlesource.com/c/1260125Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#596727}
Showing
Please register or sign in to comment