修复有草稿箱进去回答答案成功后无法刷新页面问题

This commit is contained in:
kehaoyuan
2017-12-29 18:24:31 +08:00
parent 3e37731d84
commit 926b2d070f
10 changed files with 131 additions and 77 deletions

View File

@ -164,7 +164,8 @@ public abstract class BaseFragment<T> extends Fragment implements OnRequestCallB
}
public void toast(String msg) {
Utils.toast(getContext(), msg);
if (getContext() != null)
Utils.toast(getContext(), msg);
}
public void toastLong(@StringRes int msg) {