In ListView Which function is called while scrolling
<pre><code>public class SynchronisedScrollView extends ListView {

    private ScrollViewListener scrollViewListener = null;

    public SynchronisedScrollView(Context context) {
        super(context);
    }

    public SynchronisedScrollView(Context context, AttributeSet attrs,
            int defStyle) {
        super(context, attrs, defStyle);
    }

    public SynchronisedScrollView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }


    @Override
    protected void onScrollChanged(int x, int y, int oldx, int oldy) {

        Log.d("Hello", "I am scrolled");
    //  super.onScrollChanged(x, y, oldx, oldy);
    }
}
</code></pre>

<p>I want to catch how much the listView is scrolled, so I extend ListView. I am <strong>able</strong> to scroll the list. But OnScrollChanged is not called. For <strong>ScrollView</strong> and <strong>HorizontalScrollView</strong>  OnScrollChanged is called whenever it scrolls. Which function is triggered when we scroll a ListView.</p>
