钱包数据显示,运单详情车辆位置问题修复
This commit is contained in:
parent
0021ac1983
commit
007ecbadaa
@ -141,7 +141,6 @@ public class OrderDetailsActivity extends BaseActivity {
|
||||
}
|
||||
|
||||
if (CacheGroup.cacheList.get("getcarlocation") != null) {
|
||||
|
||||
Type type = new TypeToken<CommonResponseBean<CarLocaBean>>() {
|
||||
}.getType();
|
||||
CommonResponseBean<CarLocaBean> getcarlocation = gson.fromJson(CacheGroup.cacheList.get("getcarlocation"), type);
|
||||
@ -162,6 +161,7 @@ public class OrderDetailsActivity extends BaseActivity {
|
||||
.position(desLatLng));
|
||||
aMap.moveCamera(CameraUpdateFactory.newLatLngZoom(desLatLng, 6));
|
||||
}
|
||||
CacheGroup.cacheList.remove("getcarlocation");
|
||||
}
|
||||
|
||||
//车辆轨迹
|
||||
@ -269,6 +269,7 @@ public class OrderDetailsActivity extends BaseActivity {
|
||||
map.onCreate(savedInstanceState);
|
||||
if (aMap == null) {
|
||||
aMap = map.getMap();
|
||||
aMap.clear();
|
||||
}
|
||||
//initLoaction();
|
||||
Log.e("--id--", "" + id);
|
||||
|
@ -216,7 +216,7 @@ public class WalletFragment extends BaseFragment {
|
||||
public void initUser(){
|
||||
if(userBean.getData()!=null){
|
||||
account.setText(StringUtil.isNull(userBean.getData().getAccount(),"0"));
|
||||
waybillNum.setText(StringUtil.isNull(userBean.getData().getWaybillNum()+"","0"));;
|
||||
waybillNum.setText(StringUtil.isNull(userBean.getData().getOrderNum()+"","0"));;
|
||||
freight.setText(StringUtil.isNull(userBean.getData().getFreight(),"0"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user