error
This commit is contained in:
@@ -75,10 +75,10 @@ public class V2XShareEventDescription extends BaseData implements Serializable {
|
||||
private int id;
|
||||
private String sn;
|
||||
private int score;
|
||||
private int shareNum;
|
||||
private int likeNum;
|
||||
private int notLikeNum;
|
||||
private double enthusiasmIndex;
|
||||
private int shareNum = 0;
|
||||
private int likeNum = 0;
|
||||
private int notLikeNum = 0;
|
||||
private double enthusiasmIndex = 10;
|
||||
private String createTime;
|
||||
private String updateTime;
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ public class V2XShareEventsFragment extends MvpFragment implements AdapterCallba
|
||||
|
||||
@Override
|
||||
public void onFail(String msg) {
|
||||
// loadingError(true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -132,6 +132,13 @@ public class V2XShareNetworkModel {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(Throwable e) {
|
||||
super.onError(e);
|
||||
if (callback != null){
|
||||
callback.onFail("当前服务不可以, 请稍后重试");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
@@ -168,6 +175,14 @@ public class V2XShareNetworkModel {
|
||||
callback.onFail(message);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(Throwable e) {
|
||||
super.onError(e);
|
||||
if (callback != null){
|
||||
callback.onFail("当前服务不可以, 请稍后重试");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user