|
@@ -203,6 +203,7 @@ public class RankDetailCommentFragment extends BaseActivity<CommentPresenter> im
|
|
|
tvNumZan = rootView.findViewById(R.id.tv_num_zan);
|
|
|
ivShare = rootView.findViewById(R.id.iv_share);
|
|
|
rlBottom = rootView.findViewById(R.id.rl_bottom);
|
|
|
+ statusView = rootView.findViewById(R.id.status_view);
|
|
|
mTextView.setOnClickListener(this);
|
|
|
srfl.setEnableRefresh(false);
|
|
|
srfl.setOnRefreshListener(new OnRefreshListener() {
|
|
@@ -1026,6 +1027,9 @@ public class RankDetailCommentFragment extends BaseActivity<CommentPresenter> im
|
|
|
|
|
|
@Override
|
|
|
public void showError(Throwable e) {
|
|
|
+ if (alertDialog != null) {
|
|
|
+ alertDialog.dismiss();
|
|
|
+ }
|
|
|
nestedScrollview.setVisibility(View.GONE);
|
|
|
if (!(e instanceof ApiException)) {
|
|
|
statusView.showNoNetwork(LocaleController.getString(R.string.network_failed));
|