You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ItemTouchHelper to drag the first item of a discrete scroll view all the way to the end. When the discrete scroll view is long enough that it goes beyond the width of the screen and I perform the previously mentioned action, ItemTouchHelper.Callback's interpolateOutOfBoundsScroll is triggered. In some occasions, this results to the discrete scroll view scrolling too fast and launching in the opposite direction, off the screen, breaking itself.
With a regular recycler view, this problem does not occur. I suspect that the issue may lie in the snapping of the view holders. Is there a way to disable it, so the scrolling behavior would be similar to that of a regular recycler view when an item is dragged, and reenable it when the drag is finished?
I'm using ItemTouchHelper to drag the first item of a discrete scroll view all the way to the end. When the discrete scroll view is long enough that it goes beyond the width of the screen and I perform the previously mentioned action, ItemTouchHelper.Callback's interpolateOutOfBoundsScroll is triggered. In some occasions, this results to the discrete scroll view scrolling too fast and launching in the opposite direction, off the screen, breaking itself.
With a regular recycler view, this problem does not occur. I suspect that the issue may lie in the snapping of the view holders. Is there a way to disable it, so the scrolling behavior would be similar to that of a regular recycler view when an item is dragged, and reenable it when the drag is finished?
preview: https://streamable.com/edxxzq
The text was updated successfully, but these errors were encountered: