Skip to content

Commit

Permalink
Update src/me/maxwin/view/XListView.java
Browse files Browse the repository at this point in the history
当在加载更多时,再次上拉时,出现再次加载的bug
  • Loading branch information
cattong committed Jan 25, 2013
1 parent c0d16ca commit fe920fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/me/maxwin/view/XListView.java
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ public boolean onTouchEvent(MotionEvent ev) {
} else if (getLastVisiblePosition() == mTotalItemCount - 1) {
// invoke load more.
if (mEnablePullLoad
&& mFooterView.getBottomMargin() > PULL_LOAD_MORE_DELTA
&& !mPullLoading) {
&& mFooterView.getBottomMargin() > PULL_LOAD_MORE_DELTA
&& !mPullLoading) {
startLoadMore();
}
resetFooterHeight();
Expand Down

0 comments on commit fe920fc

Please sign in to comment.