Horizontal fling with list view: lag problems
<p>I implemented my gesture listener according to this topic: <a href="http://stackoverflow.com/questions/5481814/listview-horizontal-fling-gesture">ListView Horizontal Fling Gesture</a></p>

<p>however, I can see that list scrolling is slower, sometimes (when you scroll very slowly) it blocks too.
I think the problem is in the listener: it takes time to compute values and so get the actual "left to right" fling I'm searching for...isn't there a more efficient way?</p>

<p><strong>edit</strong></p>

<p>Problem is here:</p>

<pre><code>@Override
    public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
        if (Math.abs(e1.getY() - e2.getY()) &gt; SWIPE_MAX_OFF_PATH) {
            return false;
        }

        // right to left swipe
        if(e1.getX() - e2.getX() &gt; SWIPE_MIN_DISTANCE &amp;&amp; Math.abs(velocityX) &gt; SWIPE_THRESHOLD_VELOCITY) {
            System.out.println("right to left");
            animatedStartActivity(0);

            // right to left swipe
        }  else if (e2.getX() - e1.getX() &gt; SWIPE_MIN_DISTANCE &amp;&amp; Math.abs(velocityX) &gt; SWIPE_THRESHOLD_VELOCITY) {
            System.out.println("left to right");
            animatedStartActivity(1);
        }

        return false;
    }
</code></pre>

<p>evaluation of this method takes time</p>

<p><strong>edit2:</strong>
I guess problem is because listview already has its own gesture listener and attaching mine overrides it. It is a problem because listview gesture listener takes in account speed and acceleration too, to give a nice moving effect. My listener is pretty raw, so list scrolling is not smooth anymore..
Even if my onFLing method always returns false (so it does not consume the event) list scrolling is affected...</p>

<p><strong>edit3:
Ok maybe I found the solution but I need your help!
I can set the onTouchListener on the container layout, problem is that listview actually overrides parent's onTouch so I need to reverse the situation: onTouchEvent on listview has to be intercepted by the parent, so that returning false it is brougth to listview</strong></p>
