commit | 3b8d50a27c5880e8cc4e1a11531a476995e868b9 | [log] [tgz] |
---|---|---|
author | Yue Zhang <yuezhanggg@chromium.org> | Wed Jul 24 16:41:39 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 24 16:41:39 2019 |
tree | bb3c375eebc4c8113ae3414ea79fc4997d2124a2 | |
parent | 2eefad982d456f3a720e6ec7c5233b735937fd1b [diff] |
Remove dropped view correctly in TabGridItemTouchHelperCallback https://crrev.com/c/1666270 this CL uses recyclerView.removeViewAt to manually remove dropped view and avoid calling notifyDataSetChanged(). However, removing using index can be problematic if there are scrolling and recycling in recyclerView. This CL fixes this issue. Bug: 985904 Change-Id: I207206bbd4830b1762bfd1a22f998b2617f43fe3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1714215 Reviewed-by: Yusuf Ozuysal <yusufo@chromium.org> Commit-Queue: Yue Zhang <yuezhanggg@chromium.org> Cr-Commit-Position: refs/heads/master@{#680466}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .