Skip to content

Commit

Permalink
更改方法名
Browse files Browse the repository at this point in the history
  • Loading branch information
lzx authored and lzx committed Aug 7, 2016
1 parent 1c74129 commit c5e1dcd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ public void setRefreshing(boolean refreshing) {
mLScrollListener.onRefresh(); }
}

public void setForceRefresh(boolean isForceToRefresh) {
if (isForceToRefresh && pullRefreshEnabled && mLScrollListener != null) {
public void forceToRefresh() {
if (pullRefreshEnabled && mLScrollListener != null) {
mRefreshHeader.setState(ArrowRefreshHeader.STATE_REFRESHING);
mRefreshHeader.onMove(mRefreshHeaderHeight);
mLScrollListener.onRefresh();
Expand Down

0 comments on commit c5e1dcd

Please sign in to comment.