Java Code Examples for android.widget.ListView.OnScrollListener

The following are Jave code examples for showing how to use OnScrollListener of the android.widget.ListView class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: LoadMoreHelper   File: MultiScrollListener.java   Source Code and License Vote up 4 votes
@Override
public void onScrollStateChanged(AbsListView view, int scrollState) {
    for (ListView.OnScrollListener l: scrollListeners) {
        l.onScrollStateChanged(view, scrollState);
    }
}
 
Example 2
Project: LoadMoreHelper   File: MultiScrollListener.java   Source Code and License Vote up 4 votes
@Override
public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
    for (ListView.OnScrollListener l:scrollListeners) {
        l.onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount);
    }
}