The ListView blocks its scroll direction at the start of the scroll. This works great with this configuration:
DrawerLayout ListView
When I scroll up / down, the list scrolls. When I scroll left, the drawer closes: excellent. When I start shooting down and then change direction, the initial direction (horizontal / vertical) is blocked.
However, if I wrap the list in SwipeRefreshLayout as follows:
DrawerLayout SwipeRefreshLayout ListView
.. then locking the scroll / scroll direction no longer works. When I scroll up / down and then a little left / right, the list scrolls and the box also moves. The latter is not what I want.
Any suggestions on how to revert to the previous behavior using SwipeRefreshLayout?
source share