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}
4 files changed