Chart stuck in "fling" mode
Hi Phil
I'm using the OnChartGestureListener to catch various interaction events. I've noticed that occasionally when the code detects that a fling has occurred, any further touch events are treated as a fling. I'm using onChartGestureStart and onChartGestureEnd to record the length of a swipe and in certain situations perform an operation on the chart.
I'm displaying the chart in a ViewPager with multiple tabs. The usual behaviour is that a gentle swipe passes up to the ViewPager and moves the Tab as desired. Once a fling is detected the swipe motion is intercepted and not passed up, and the ViewPager ceases to function. This then continues until the chart is redrawn from scratch.
I'm guessing it has something to do with mLastGesture, but I cannot see how.
Any idea how to fix / work-around? Hope this makes sense, it's pretty late...
Cheers, Simon