Code example for AbsListView.OnScrollListener

Methods: onScroll

        public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
                int totalItemCount) {
            OnScrollListener l = mManaged.getOnScrollListener();
            if (l != null) {
                l.onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount);
    private class FingerTracker implements OnTouchListener {
        public boolean onTouch(View view, MotionEvent event) {
            final int action = event.getAction();
            mFingerUp = (action == MotionEvent.ACTION_UP ||
                         action == MotionEvent.ACTION_CANCEL);
            // If finger is up and view is not flinging, trigger a new round 
            // of item updates. 
Connect your IDE to all the code out there  Get Codota for Java