修改进入房间提示
This commit is contained in:
@@ -2319,6 +2319,7 @@ public class RetrofitClient {
|
||||
CommonAppContext.getInstance().isRoomJoininj = false;
|
||||
observer.onError(t);
|
||||
if (joinRoomLoadListener != null) {
|
||||
ToastUtils.showLong("网络异常");
|
||||
joinRoomLoadListener.onJoinRoomLoad("网络异常");
|
||||
}
|
||||
}
|
||||
@@ -2339,6 +2340,7 @@ public class RetrofitClient {
|
||||
}
|
||||
}else {
|
||||
if (joinRoomLoadListener != null) {
|
||||
ToastUtils.showLong("网络异常");
|
||||
joinRoomLoadListener.onJoinRoomLoad("网络异常");
|
||||
}
|
||||
}
|
||||
@@ -2347,6 +2349,7 @@ public class RetrofitClient {
|
||||
@Override
|
||||
public void onFailure(Call<BaseModel<BeforeJoinRoomCheckBean>> call, Throwable t) {
|
||||
if (joinRoomLoadListener != null) {
|
||||
ToastUtils.showLong("网络异常");
|
||||
joinRoomLoadListener.onJoinRoomLoad("网络异常");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user