Fixed
Status Update
Comments
lb...@gmail.com <lb...@gmail.com> #2
This isn't fixed in alpha 6 :(. It's easily reproducible by starting a drag with one finger and then tapping somewhere else (think back button) which calls clearSelection().
je...@google.com <je...@google.com>
sh...@google.com <sh...@google.com> #3
ap...@google.com <ap...@google.com> #4
Fix is in the works. Until then, a workaround is to avoid calling SelectionTracker#clearSelection while a gesture or mouse-band selection operation is in progress. Such a condition is likely not reflective of user intent (given the ongoing stream of selection operation), but reflective of a stray tap.
State can be monitored using OperationMonitor:
https://developer.android.com/reference/androidx/recyclerview/selection/OperationMonitor.OnChangeListener.html
State can be monitored using OperationMonitor:
lb...@gmail.com <lb...@gmail.com> #5
BTW, working on a fix for this (general improvement to state management). My unassigning this issue from me should not be construed as lack of attention to the matter. I just manage issues by hotlist (rather than ownership).
Description
Steps:
1. Import project, which has a horizontal RecyclerView within a ConstraintLayout.
2. Run app
3. scroll to the most left on the RecyclerView . Notice the overscroll effect works fine.
4. scroll to the most right on the RecyclerView . Notice the overscroll effect is shown in incorrect position (upper).
Attached sample project and video to show issue.