fix: 修改手动匹配轨迹时选择日期没有轨迹时,程序一直loading 的问题
This commit is contained in:
parent
5a1b0edd82
commit
f28f9031a5
@ -13,7 +13,7 @@ android {
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 30
|
||||
versionCode 54
|
||||
versionName "8.230512-正式版"
|
||||
versionName "8.230517-正式版"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
ndk {
|
||||
|
||||
@ -843,6 +843,7 @@ public class PicturesActivity extends BaseActivity implements View.OnClickListen
|
||||
public void accept(List<LocationRecorder> locationRecorderByTime) throws Exception {
|
||||
if (locationRecorderByTime==null||locationRecorderByTime.isEmpty()) {
|
||||
ToastUtils.Message(PicturesActivity.this, "该时间段内没有可用的轨迹数据");
|
||||
imgTrackSelectRange.setSelected(!imgTrackSelectRange.isSelected());
|
||||
} else {
|
||||
tencentMap.animateCamera(CameraUpdateFactory.newCameraPosition(new CameraPosition(
|
||||
new LatLng(locationRecorderByTime.get(0).getTencentLocationY(), locationRecorderByTime.get(0).getTencentLocationX()), //中心点坐标,地图目标经纬度
|
||||
@ -875,7 +876,6 @@ public class PicturesActivity extends BaseActivity implements View.OnClickListen
|
||||
// );
|
||||
// trackRemovableList.add(marker);
|
||||
// }
|
||||
dismissLoadingDialog();
|
||||
ToastUtils.Message(PicturesActivity.this, "点选地图上的轨迹点选择起终点");
|
||||
}
|
||||
|
||||
@ -885,6 +885,7 @@ public class PicturesActivity extends BaseActivity implements View.OnClickListen
|
||||
}
|
||||
}); //目标旋转角 0~360° (正北方为0));
|
||||
}
|
||||
dismissLoadingDialog();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -995,7 +995,6 @@ public class GatherGetFragment extends BaseFragment implements View.OnClickListe
|
||||
okGoBuilder.getRequest(new Callback<TaskByNetBean>() {
|
||||
@Override
|
||||
public void onSuccess(TaskByNetBean response, int id) {
|
||||
dismissLoadingDialog();
|
||||
if (response.getCode() == 200) {
|
||||
TaskByNetBean.BodyBean listBean = response.getBody();
|
||||
if (listBean != null) {
|
||||
@ -1073,6 +1072,7 @@ public class GatherGetFragment extends BaseFragment implements View.OnClickListe
|
||||
} else {
|
||||
ToastUtils.Message(getActivity(),response.getMessage());
|
||||
}
|
||||
dismissLoadingDialog();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -3,8 +3,8 @@ package com.navinfo.outdoor.http;
|
||||
public class HttpInterface {
|
||||
// public static final String IP = "http://172.23.138.133:9999/m4";//测试接口-IP
|
||||
public static final String IP0 = "http://dtxbmaps.navinfo.com/dtxb/dev/m4";//开发接口-外网
|
||||
public static final String IP1 = "http://dtxbmaps.navinfo.com/dtxb/test/m4";//测试接口-外网
|
||||
public static final String IP = "http://dtxbmaps.navinfo.com/dtxb/m4";//正式接口
|
||||
public static final String IP = "http://dtxbmaps.navinfo.com/dtxb/test/m4";//测试接口-外网
|
||||
public static final String IP2 = "http://dtxbmaps.navinfo.com/dtxb/m4";//正式接口
|
||||
public static final String USER_PATH = "/user/";//我的
|
||||
public static final String MSG_LIST_PATH = "/msgList/";//发现
|
||||
public static final String USER_LOGIN_PATH = "/userlogin/";//登录
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user