Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ne1c committed Dec 14, 2015
1 parent 38dc8ab commit 030a5b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ public void showMessages(ArrayList<MessageModel> messages, boolean showProgress,
if (mProgressBar.getVisibility() == View.VISIBLE) {
mPtrFrameLayout.setVisibility(View.VISIBLE);
mProgressBar.setVisibility(View.GONE);
}

isRefreshing = false;
isRefreshing = false;
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,

mPresenter.bindView(this);
mPresenter.loadCachedRooms();
mPresenter.loadRooms();

return v;
}
Expand All @@ -82,6 +81,13 @@ public boolean isEdit() {
return mIsEdit;
}

@Override
public void onResume() {
super.onResume();

mPresenter.loadRooms();
}

public void setEdit(boolean edit) {
mIsEdit = edit;
if (edit) {
Expand Down

0 comments on commit 030a5b8

Please sign in to comment.