Open symphonyrecords opened 5 years ago
If anybody have the same issue this is how I solved it.
In SlidingLayer.java class inside onInterceptTouchEvent
method add below code for MotionEvent.ACTION_MOVE
action:
if (xDiff > yDiff) {
return false;
}
It'll look like:
switch (action) {
case MotionEvent.ACTION_MOVE:
.
.
.
if (xDiff > yDiff) {
return false;
}
if (validHorizontalDrag || validVerticalDrag) {
mIsDragging = true;
setDrawingCacheEnabled(true);
}
break;
.
.
.
In my XML I have a horizontal recyclerview wrapped by this custom class.
So I have a horizontal scroll(recyclerview), inside a vertical slide(stickTo bottom).
The problem is this, please look at the below GIF file:
As you can see I can't scroll in recyclerview properly.
Do you have any suggestions?