예제 #1
0
 void invokeOnItemScrollListener() {
   final int mFirstPosition = getFirstVisiblePosition();
   final int mItemCount = getCount();
   if (mFastScroller != null) {
     mFastScroller.onScroll(this, mFirstPosition, getChildCount(), mItemCount);
   }
   if (mOnScrollListener != null) {
     mOnScrollListener.onScroll(this, mFirstPosition, getChildCount(), mItemCount);
   }
   onScrollChanged(0, 0, 0, 0);
 }