private void completeScroll(boolean postEvents){
  boolean needPopulate=mScrollState == SCROLL_STATE_SETTLING;
  if (needPopulate) {
    if (postEvents) {
      ViewCompat.postOnAnimation(this,mEndScrollRunnable);
    }
 else {
      mEndScrollRunnable.run();
    }
  }
}

private void completeScroll ( boolean postEvents ) { boolean needPopulate = mScrollState == SCROLL_STATE_SETTLING ; if ( needPopulate ) { if ( postEvents ) { ViewCompat . postOnAnimation ( this , mEndScrollRunnable ) ; } else { mEndScrollRunnable . run ( ) ; } } }
whether the scroll animation is end
