Gallery view scroll listener
<p>I am using a gallery view to display images from SD card. If images in the left side I want to show a arrow as the indication of that. Similarly for the right side. Simply I want to listen the scroll operation of the gallery. Is there any possible way in Android?</p>

<p>I used onscroll for it but works only for tapping the gallery.</p>

<pre><code>    public boolean onScroll (MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
{
    System.out.println("SCROLLED");
    return false;

}
</code></pre>
