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