예제 #1
0
 public void onScrollStateChanged(AbsListView view, int scrollState) {
   if (scrollState == 0) {
     view.invalidateViews();
   }
   this.mCurrentScrollState = scrollState;
   if (this.mOnScrollListener != null) {
     this.mOnScrollListener.onScrollStateChanged(view, scrollState);
   }
 }
  public void onScrollStateChanged(AbsListView view, int scrollState) {

    // bug fix: listview was not clickable after scroll
    if (scrollState == OnScrollListener.SCROLL_STATE_IDLE) {
      view.invalidateViews();
    }

    mCurrentScrollState = scrollState;

    if (mOnScrollListener != null) {
      mOnScrollListener.onScrollStateChanged(view, scrollState);
    }
  }