Skip to content

Commit

Permalink
添加一个停止刷新方法
Browse files Browse the repository at this point in the history
  • Loading branch information
haoxikang committed May 10, 2017
1 parent 7eedbfc commit 57314f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ interface Presenter {
void onRefreshError();

void onLoadNextError();

void stopLoading();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ public void checkAndRefreshData() {
}
}

@Override
public void stopLoading() {
canLoad=true;
mView.closeLoadAnimation();
}

@Override
public void onRefreshError() {
Expand Down

0 comments on commit 57314f1

Please sign in to comment.