Created by: matt-oakes
Hi,
I was having a problem when I was using SlidingUpPanelLayout inside a DrawerLayout. If you started dragging the panel up and then moved your finger slightly either left or right the DrawerPanel would take over and start moving the drawer left and right.
The solution was to call requestDisallowInterceptTouchEvent
inside onInterceptTouchEvent
with the value we are going to return. Therefore we will still allow the drawer to intercept if we don't want it, but we will effectively lock the drawer if we've decided the user has started dragging the SlidingUpPanel.
Let me know if there are any changes which need to be made.
Matt