For those with the same problem maybe this will help!
I had some problems when trying to drag the bars and I kept calling ACTION_CANCEL in OnTouch
So I made small changes to the SlidingWindowView class
1 - In onDown add:
if (hold != HOLD_NOTHING && parent != null)
parent.requestDisallowInterceptTouchEvent(true)
return hold != HOLD_NOTHING
2 - In OnUp add
if (parent != null)
parent.requestDisallowInterceptTouchEvent(false)
Conclusion: When dragging the bars over the recyclerview it launched the ACTION_CANCEL because the recyclerview took the permission for itself and ended up launching the cancellation for the SlidingWindowVieu thus canceling the scroll bars.
For those with the same problem maybe this will help!
I had some problems when trying to drag the bars and I kept calling ACTION_CANCEL in OnTouch
So I made small changes to the SlidingWindowView class
1 - In onDown add:
2 - In OnUp add
Conclusion: When dragging the bars over the recyclerview it launched the ACTION_CANCEL because the recyclerview took the permission for itself and ended up launching the cancellation for the SlidingWindowVieu thus canceling the scroll bars.