修改bug
This commit is contained in:
parent
e1993e8e54
commit
80dd77772d
@ -211,6 +211,54 @@ public class ChargingStationFragment extends BaseDrawerFragment implements View.
|
|||||||
chargingPileDao = poiDatabase.getChargingPileDao();
|
chargingPileDao = poiDatabase.getChargingPileDao();
|
||||||
checkBoxLife = findViewById(R.id.check_pot_life);
|
checkBoxLife = findViewById(R.id.check_pot_life);
|
||||||
checkBoxRight = findViewById(R.id.check_pot_right);
|
checkBoxRight = findViewById(R.id.check_pot_right);
|
||||||
|
//添加桩
|
||||||
|
linearChargingPile = findViewById(R.id.linear_charging_pile);
|
||||||
|
linearChargingPile.setOnClickListener(this::onClick);
|
||||||
|
btnSaveLocal = findViewById(R.id.btn_save_local);
|
||||||
|
btnSaveLocal.setOnClickListener(this::onClick);
|
||||||
|
btnUploading = findViewById(R.id.btn_uploading);
|
||||||
|
btnUploading.setOnClickListener(this::onClick);
|
||||||
|
editNameContent = findViewById(R.id.tv_name_content);
|
||||||
|
editSiteContent = findViewById(R.id.tv_site_content);
|
||||||
|
tvExamine = findViewById(R.id.tv_examine);
|
||||||
|
tvExamine.setOnClickListener(this::onClick);
|
||||||
|
editDescribe = findViewById(R.id.edit_describe);
|
||||||
|
ivPanorama = findViewById(R.id.iv_panorama);
|
||||||
|
ivName = findViewById(R.id.iv_name);
|
||||||
|
linearContact = findViewById(R.id.linear_contact);
|
||||||
|
ivInternal = findViewById(R.id.iv_internal);
|
||||||
|
ivElse = findViewById(R.id.iv_else);
|
||||||
|
ivScutcheon = findViewById(R.id.iv_scutcheon);
|
||||||
|
rlPanorama = findViewById(R.id.rl_panorama);
|
||||||
|
rlPanorama.setOnClickListener(this::onClick);
|
||||||
|
rlName = findViewById(R.id.rl_name);
|
||||||
|
rlName.setOnClickListener(this::onClick);
|
||||||
|
rlInternalPhotos = findViewById(R.id.rl_internal_photos);
|
||||||
|
rlInternalPhotos.setOnClickListener(this::onClick);
|
||||||
|
rlElse = findViewById(R.id.rl_else);
|
||||||
|
rlElse.setOnClickListener(this::onClick);
|
||||||
|
rlScutcheon = findViewById(R.id.rl_scutcheon);
|
||||||
|
rlScutcheon.setOnClickListener(this::onClick);
|
||||||
|
|
||||||
|
/* recyclerPhone = findViewById(R.id.recycler_phone);
|
||||||
|
recyclerPhone.setLayoutManager(new LinearLayoutManager(getContext()));
|
||||||
|
recyclerPhone.addItemDecoration(new DividerItemDecoration(getContext(), DividerItemDecoration.VERTICAL));
|
||||||
|
poiRecycleAdapter = new PoiRecycleAdapter(getContext());
|
||||||
|
recyclerPhone.setAdapter(poiRecycleAdapter);*/
|
||||||
|
recyclerStation = findViewById(R.id.recycler_station);
|
||||||
|
recyclerStation.setLayoutManager(new GridLayoutManager(getContext(), 3));
|
||||||
|
chargingPileAdapter = new ChargingPileAdapter(getContext());
|
||||||
|
recyclerStation.setAdapter(chargingPileAdapter);
|
||||||
|
chargingPileAdapter.setOnLickItem(new ChargingPileAdapter.onLickItem() {
|
||||||
|
@Override
|
||||||
|
public void item(ChargingPileEntity chargingPileEntity) {
|
||||||
|
Message obtains = Message.obtain();
|
||||||
|
obtains.what = Constant.CHARGING_STATION_ITEM;
|
||||||
|
obtains.obj = chargingPileEntity;
|
||||||
|
EventBus.getDefault().post(obtains);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
checkBoxLife.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
checkBoxLife.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||||
@ -271,12 +319,23 @@ public class ChargingStationFragment extends BaseDrawerFragment implements View.
|
|||||||
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
||||||
switch (position) {
|
switch (position) {
|
||||||
case 0:
|
case 0:
|
||||||
|
rlInternalPhotos.setVisibility(View.VISIBLE);
|
||||||
|
rlElse.setVisibility(View.VISIBLE);
|
||||||
|
rlScutcheon.setVisibility(View.VISIBLE);
|
||||||
existence = 0;
|
existence = 0;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
|
rlInternalPhotos.setVisibility(View.GONE);
|
||||||
|
rlElse.setVisibility(View.GONE);
|
||||||
|
rlScutcheon.setVisibility(View.GONE);
|
||||||
existence = 1;
|
existence = 1;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
|
rlInternalPhotos.setVisibility(View.GONE);
|
||||||
|
rlElse.setVisibility(View.GONE);
|
||||||
|
rlScutcheon.setVisibility(View.GONE);
|
||||||
existence = 2;
|
existence = 2;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -286,53 +345,7 @@ public class ChargingStationFragment extends BaseDrawerFragment implements View.
|
|||||||
public void onNothingSelected(AdapterView<?> parent) {
|
public void onNothingSelected(AdapterView<?> parent) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//添加桩
|
|
||||||
linearChargingPile = findViewById(R.id.linear_charging_pile);
|
|
||||||
linearChargingPile.setOnClickListener(this::onClick);
|
|
||||||
btnSaveLocal = findViewById(R.id.btn_save_local);
|
|
||||||
btnSaveLocal.setOnClickListener(this::onClick);
|
|
||||||
btnUploading = findViewById(R.id.btn_uploading);
|
|
||||||
btnUploading.setOnClickListener(this::onClick);
|
|
||||||
editNameContent = findViewById(R.id.tv_name_content);
|
|
||||||
editSiteContent = findViewById(R.id.tv_site_content);
|
|
||||||
tvExamine = findViewById(R.id.tv_examine);
|
|
||||||
tvExamine.setOnClickListener(this::onClick);
|
|
||||||
editDescribe = findViewById(R.id.edit_describe);
|
|
||||||
ivPanorama = findViewById(R.id.iv_panorama);
|
|
||||||
ivName = findViewById(R.id.iv_name);
|
|
||||||
linearContact = findViewById(R.id.linear_contact);
|
|
||||||
ivInternal = findViewById(R.id.iv_internal);
|
|
||||||
ivElse = findViewById(R.id.iv_else);
|
|
||||||
ivScutcheon = findViewById(R.id.iv_scutcheon);
|
|
||||||
rlPanorama = findViewById(R.id.rl_panorama);
|
|
||||||
rlPanorama.setOnClickListener(this::onClick);
|
|
||||||
rlName = findViewById(R.id.rl_name);
|
|
||||||
rlName.setOnClickListener(this::onClick);
|
|
||||||
rlInternalPhotos = findViewById(R.id.rl_internal_photos);
|
|
||||||
rlInternalPhotos.setOnClickListener(this::onClick);
|
|
||||||
rlElse = findViewById(R.id.rl_else);
|
|
||||||
rlElse.setOnClickListener(this::onClick);
|
|
||||||
rlScutcheon = findViewById(R.id.rl_scutcheon);
|
|
||||||
rlScutcheon.setOnClickListener(this::onClick);
|
|
||||||
|
|
||||||
/* recyclerPhone = findViewById(R.id.recycler_phone);
|
|
||||||
recyclerPhone.setLayoutManager(new LinearLayoutManager(getContext()));
|
|
||||||
recyclerPhone.addItemDecoration(new DividerItemDecoration(getContext(), DividerItemDecoration.VERTICAL));
|
|
||||||
poiRecycleAdapter = new PoiRecycleAdapter(getContext());
|
|
||||||
recyclerPhone.setAdapter(poiRecycleAdapter);*/
|
|
||||||
recyclerStation = findViewById(R.id.recycler_station);
|
|
||||||
recyclerStation.setLayoutManager(new GridLayoutManager(getContext(), 3));
|
|
||||||
chargingPileAdapter = new ChargingPileAdapter(getContext());
|
|
||||||
recyclerStation.setAdapter(chargingPileAdapter);
|
|
||||||
chargingPileAdapter.setOnLickItem(new ChargingPileAdapter.onLickItem() {
|
|
||||||
@Override
|
|
||||||
public void item(ChargingPileEntity chargingPileEntity) {
|
|
||||||
Message obtains = Message.obtain();
|
|
||||||
obtains.what = Constant.CHARGING_STATION_ITEM;
|
|
||||||
obtains.obj = chargingPileEntity;
|
|
||||||
EventBus.getDefault().post(obtains);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
//数据展示
|
//数据展示
|
||||||
initShowPoi();
|
initShowPoi();
|
||||||
//禁用所有可操作控件
|
//禁用所有可操作控件
|
||||||
@ -379,6 +392,14 @@ public class ChargingStationFragment extends BaseDrawerFragment implements View.
|
|||||||
} else {
|
} else {
|
||||||
poiBeans.add(new PhoneBean("电话", "", "", R.drawable.icon_add_bg));
|
poiBeans.add(new PhoneBean("电话", "", "", R.drawable.icon_add_bg));
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (phones[i]!=null) {
|
||||||
|
poiBeans.add(new PhoneBean("电话", phones[i] + "", "", R.drawable.icon_add_bg));
|
||||||
|
} else {
|
||||||
|
poiBeans.add(new PhoneBean("电话", "", "", R.drawable.icon_add_bg));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!StringUtils.isEmpty(phones[i])) {
|
if (!StringUtils.isEmpty(phones[i])) {
|
||||||
if (phones[i].contains("-")) { // 包含区号数据的电话
|
if (phones[i].contains("-")) { // 包含区号数据的电话
|
||||||
@ -397,17 +418,6 @@ public class ChargingStationFragment extends BaseDrawerFragment implements View.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (!StringUtils.isEmpty(phones[i])) {
|
|
||||||
String[] split = phones[i].split("-");
|
|
||||||
if (split[0] == phones[i]) {
|
|
||||||
poiBeans.add(new PhoneBean("", phones[i], "", R.drawable.icon_del_bg));
|
|
||||||
} else {
|
|
||||||
poiBeans.add(new PhoneBean("", split[1], split[0], R.drawable.icon_del_bg));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -416,7 +426,6 @@ public class ChargingStationFragment extends BaseDrawerFragment implements View.
|
|||||||
} else {
|
} else {
|
||||||
poiBeans.add(new PhoneBean("电话*", "", Constant.CODE, R.drawable.icon_add_bg));
|
poiBeans.add(new PhoneBean("电话*", "", Constant.CODE, R.drawable.icon_add_bg));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
body = showPoiEntity.getBodyId();
|
body = showPoiEntity.getBodyId();
|
||||||
contactView = new ContactView(getActivity(), linearContact, poiBeans);
|
contactView = new ContactView(getActivity(), linearContact, poiBeans);
|
||||||
@ -768,24 +777,15 @@ public class ChargingStationFragment extends BaseDrawerFragment implements View.
|
|||||||
infoPhoto.add(new Info(tagName));
|
infoPhoto.add(new Info(tagName));
|
||||||
}
|
}
|
||||||
String tagInternal = (String) ivInternal.getTag();
|
String tagInternal = (String) ivInternal.getTag();
|
||||||
if (tagInternal == null) {
|
if (tagInternal != null) {
|
||||||
Toast.makeText(getActivity(), "请拍照 服务说明", Toast.LENGTH_SHORT).show();
|
|
||||||
return;
|
|
||||||
} else {
|
|
||||||
infoPhoto.add(new Info(tagInternal));
|
infoPhoto.add(new Info(tagInternal));
|
||||||
}
|
}
|
||||||
String tagElse = (String) ivElse.getTag();
|
String tagElse = (String) ivElse.getTag();
|
||||||
if (tagElse == null) {
|
if (tagElse != null) {
|
||||||
Toast.makeText(getActivity(), "请拍照 充电站指引牌", Toast.LENGTH_SHORT).show();
|
|
||||||
return;
|
|
||||||
} else {
|
|
||||||
infoPhoto.add(new Info(tagElse));
|
infoPhoto.add(new Info(tagElse));
|
||||||
}
|
}
|
||||||
String tagScutcheon = (String) ivScutcheon.getTag();
|
String tagScutcheon = (String) ivScutcheon.getTag();
|
||||||
if (tagScutcheon == null) {
|
if (tagScutcheon != null) {
|
||||||
Toast.makeText(getActivity(), "请拍照 停车收费标牌", Toast.LENGTH_SHORT).show();
|
|
||||||
return;
|
|
||||||
} else {
|
|
||||||
infoPhoto.add(new Info(tagScutcheon));
|
infoPhoto.add(new Info(tagScutcheon));
|
||||||
}
|
}
|
||||||
poiEntity.setExistence(existence);
|
poiEntity.setExistence(existence);
|
||||||
|
@ -73,7 +73,7 @@ public class OtherFragment extends BaseDrawerFragment implements View.OnClickLis
|
|||||||
|
|
||||||
|
|
||||||
private Spinner spinnerOther;
|
private Spinner spinnerOther;
|
||||||
String[] others = new String[]{"门牌", "公交", "情报"};// //门牌:6 公交:7 情报:8 现在其他任务类型里就这三种
|
String[] others = new String[]{"门牌", "公交", "情报"};// //门牌:5 公交:6 情报:7 现在其他任务类型里就这三种
|
||||||
private EditText editTaskName, editOtherDescribe;
|
private EditText editTaskName, editOtherDescribe;
|
||||||
private RelativeLayout rlPicture;
|
private RelativeLayout rlPicture;
|
||||||
private ImageView ivPicture;
|
private ImageView ivPicture;
|
||||||
@ -85,7 +85,7 @@ public class OtherFragment extends BaseDrawerFragment implements View.OnClickLis
|
|||||||
private PoiDao poiDao;
|
private PoiDao poiDao;
|
||||||
private PoiEntity showPoiEntity;
|
private PoiEntity showPoiEntity;
|
||||||
private LatLng latLng;
|
private LatLng latLng;
|
||||||
private int station_type = 6;
|
private int station_type = 5;
|
||||||
|
|
||||||
|
|
||||||
private String takePhotoPath;
|
private String takePhotoPath;
|
||||||
@ -160,13 +160,13 @@ public class OtherFragment extends BaseDrawerFragment implements View.OnClickLis
|
|||||||
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
||||||
switch (position) {
|
switch (position) {
|
||||||
case 0:
|
case 0:
|
||||||
station_type = 6;
|
station_type = 5;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
station_type = 7;
|
station_type = 6;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
station_type = 8;
|
station_type = 7;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -276,6 +276,7 @@ public class OtherFragment extends BaseDrawerFragment implements View.OnClickLis
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//判断是否是已完成作业并保存成功
|
||||||
if (showPoiEntity.getTaskStatus()==3){
|
if (showPoiEntity.getTaskStatus()==3){
|
||||||
disables();
|
disables();
|
||||||
}
|
}
|
||||||
|
@ -225,8 +225,9 @@ public class PoiVideoFragment extends BaseDrawerFragment implements View.OnClick
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//判断是否是已做完任务并保存成功
|
||||||
if (showPoiEntity.getTaskStatus() == 3){
|
if (showPoiEntity.getTaskStatus() == 3){
|
||||||
disables();
|
disables();//禁用所有可操作的控件
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -499,6 +500,7 @@ public class PoiVideoFragment extends BaseDrawerFragment implements View.OnClick
|
|||||||
public void onSuccess(PoiVideoBean poiVideoBean, int id) {
|
public void onSuccess(PoiVideoBean poiVideoBean, int id) {
|
||||||
dismissLoadingDialog();
|
dismissLoadingDialog();
|
||||||
Integer poiVideoBody = poiVideoBean.getBody();
|
Integer poiVideoBody = poiVideoBean.getBody();
|
||||||
|
if (poiVideoBody!=null&&poiVideoBody!=0){
|
||||||
poiEntity.setBodyId(poiVideoBody);
|
poiEntity.setBodyId(poiVideoBody);
|
||||||
poiEntity.setTaskStatus(3);
|
poiEntity.setTaskStatus(3);
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
@ -519,6 +521,10 @@ public class PoiVideoFragment extends BaseDrawerFragment implements View.OnClick
|
|||||||
}
|
}
|
||||||
}).start();
|
}).start();
|
||||||
Toast.makeText(getActivity(), "保存成功", Toast.LENGTH_SHORT).show();
|
Toast.makeText(getActivity(), "保存成功", Toast.LENGTH_SHORT).show();
|
||||||
|
}else {
|
||||||
|
Toast.makeText(getActivity(), "没有获取到具体位置", Toast.LENGTH_SHORT).show();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -71,7 +71,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class RoadFragment extends BaseDrawerFragment implements View.OnClickListener {
|
public class RoadFragment extends BaseDrawerFragment implements View.OnClickListener {
|
||||||
private TextView tvPictures;
|
private TextView tvPictures;
|
||||||
private TextView etRoadName;
|
private EditText etRoadName;
|
||||||
private ImageView ivRoadPicture;
|
private ImageView ivRoadPicture;
|
||||||
private RadioButton rbCar;
|
private RadioButton rbCar;
|
||||||
private RadioButton rbBicycle;
|
private RadioButton rbBicycle;
|
||||||
@ -140,7 +140,7 @@ public class RoadFragment extends BaseDrawerFragment implements View.OnClickList
|
|||||||
poiDao = poiDatabase.getPoiDao();
|
poiDao = poiDatabase.getPoiDao();
|
||||||
tvPictures = (TextView) findViewById(R.id.tv_pictures);
|
tvPictures = (TextView) findViewById(R.id.tv_pictures);
|
||||||
tvPictures.setOnClickListener(this::onClick);
|
tvPictures.setOnClickListener(this::onClick);
|
||||||
etRoadName = (TextView) findViewById(R.id.et_road_name);
|
etRoadName = (EditText) findViewById(R.id.et_road_name);
|
||||||
ivRoadPicture = (ImageView) findViewById(R.id.iv_road_picture);
|
ivRoadPicture = (ImageView) findViewById(R.id.iv_road_picture);
|
||||||
// Glide.with(getContext()).load(getLocalVideoBitmap(String.valueOf(R.drawable.bg_01))).into(ivRoadPicture);
|
// Glide.with(getContext()).load(getLocalVideoBitmap(String.valueOf(R.drawable.bg_01))).into(ivRoadPicture);
|
||||||
rbCar = (RadioButton) findViewById(R.id.rb_car);
|
rbCar = (RadioButton) findViewById(R.id.rb_car);
|
||||||
@ -480,6 +480,7 @@ public class RoadFragment extends BaseDrawerFragment implements View.OnClickList
|
|||||||
public void onSuccess(RoadSaveBean roadSaveBean, int id) {
|
public void onSuccess(RoadSaveBean roadSaveBean, int id) {
|
||||||
dismissLoadingDialog();
|
dismissLoadingDialog();
|
||||||
Integer poiVideoBody = roadSaveBean.getBody();
|
Integer poiVideoBody = roadSaveBean.getBody();
|
||||||
|
if (poiVideoBody!=null&&poiVideoBody!=0){
|
||||||
poiEntity.setBodyId(poiVideoBody);
|
poiEntity.setBodyId(poiVideoBody);
|
||||||
poiEntity.setTaskStatus(3);
|
poiEntity.setTaskStatus(3);
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
@ -500,6 +501,11 @@ public class RoadFragment extends BaseDrawerFragment implements View.OnClickList
|
|||||||
}).start();
|
}).start();
|
||||||
Toast.makeText(getActivity(), "保存成功", Toast.LENGTH_SHORT).show();
|
Toast.makeText(getActivity(), "保存成功", Toast.LENGTH_SHORT).show();
|
||||||
onBackPressed();
|
onBackPressed();
|
||||||
|
}else {
|
||||||
|
Toast.makeText(getActivity(), "没获取到具体的位置", Toast.LENGTH_SHORT).show();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -570,7 +570,7 @@ public class TreasureFragment extends BaseFragment implements View.OnClickListen
|
|||||||
removablesLocality.add(roadMarker);
|
removablesLocality.add(roadMarker);
|
||||||
break;
|
break;
|
||||||
case 5://其他
|
case 5://其他
|
||||||
BitmapDescriptor otherDescriptor = BitmapDescriptorFactory.fromResource(R.drawable.marker_other_have_bg);
|
BitmapDescriptor otherDescriptor = BitmapDescriptorFactory.fromResource(R.drawable.marker_other_have_bag);
|
||||||
Marker otherMarker = tencentMap.addMarker(new MarkerOptions(latLng).icon(otherDescriptor).alpha(0.9f)
|
Marker otherMarker = tencentMap.addMarker(new MarkerOptions(latLng).icon(otherDescriptor).alpha(0.9f)
|
||||||
.flat(true)
|
.flat(true)
|
||||||
.clockwise(false));
|
.clockwise(false));
|
||||||
@ -580,7 +580,7 @@ public class TreasureFragment extends BaseFragment implements View.OnClickListen
|
|||||||
removablesLocality.add(otherMarker);
|
removablesLocality.add(otherMarker);
|
||||||
break;
|
break;
|
||||||
case 6://面状任务
|
case 6://面状任务
|
||||||
BitmapDescriptor Descriptor = BitmapDescriptorFactory.fromResource(R.drawable.marker_other_have_bg);
|
BitmapDescriptor Descriptor = BitmapDescriptorFactory.fromResource(R.drawable.marker_other_have_bag);
|
||||||
Marker planarMarker = tencentMap.addMarker(new MarkerOptions(latLng).icon(Descriptor).alpha(0.9f)
|
Marker planarMarker = tencentMap.addMarker(new MarkerOptions(latLng).icon(Descriptor).alpha(0.9f)
|
||||||
.clockwise(false)
|
.clockwise(false)
|
||||||
.flat(true));
|
.flat(true));
|
||||||
|
@ -34,14 +34,14 @@ public class PoiEntity implements Serializable {
|
|||||||
//ROOM不支持直接存储集合
|
//ROOM不支持直接存储集合
|
||||||
@TypeConverters(PhotoInfoConverter.class)
|
@TypeConverters(PhotoInfoConverter.class)
|
||||||
private List<Info> photoInfo;//照片信息
|
private List<Info> photoInfo;//照片信息
|
||||||
private int existence;//是否存在 不存在对应 0 存在对应 1
|
private int existence;//是否存在 不存在对应 0 存在对应 1 无法验证对应 2
|
||||||
private String x;//经度
|
private String x;//经度
|
||||||
private String y;//纬度
|
private String y;//纬度
|
||||||
private String detail;//深度信息
|
private String detail;//深度信息
|
||||||
private String dist;//距离用户位置
|
private String dist;//距离用户位置
|
||||||
private int taskStatus;//任务状态 0.未领取 1.已领取,2.未保存(保存到本地但未提交成功),3.已保存(保存到本地提交成功),4已上传(结束采集),
|
private int taskStatus;//任务状态 0.未领取 1.已领取,2.未保存(保存到本地但未提交成功),3.已保存(保存到本地提交成功),4已上传(结束采集),
|
||||||
private int type;//1 "POI"2 "充电站"3 "POI录像"4 "道路录像"5 "其他"6 "面状任务"
|
private int type;//1 "POI"2 "充电站"3 "POI录像"4 "道路录像"5 "其他"6 "面状任务"
|
||||||
private int station_type;//1."全部"2 "POI"3 "充电站"4 "POI录像"5 "道路录像", "门牌:6 公交:7 情报:8
|
private int station_type;//1."充电站"2 "充换电站"3 "充电桩组"4 "换电站"5 "门牌", "公交:6 情报:7
|
||||||
private int isLocalData;//是否是本地数据 0,服务 1,本地
|
private int isLocalData;//是否是本地数据 0,服务 1,本地
|
||||||
private int isExclusive;//任务类型 0.普通任务,1.专属任务
|
private int isExclusive;//任务类型 0.普通任务,1.专属任务
|
||||||
private int bodyId;//保存本地的bodyId
|
private int bodyId;//保存本地的bodyId
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 894 B |
Binary file not shown.
Before Width: | Height: | Size: 894 B |
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
@ -51,11 +51,11 @@
|
|||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp" />
|
||||||
|
|
||||||
<TextView
|
<EditText
|
||||||
android:id="@+id/et_road_name"
|
android:id="@+id/et_road_name"
|
||||||
android:layout_width="200dp"
|
android:layout_width="200dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:background="@null" />
|
android:background="@null" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@ -130,7 +130,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="02.拍照 "
|
android:text="03.拍照 "
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
android:id="@+id/tv_text"
|
android:id="@+id/tv_text"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawableRight="@drawable/ic_baseline_arrow_forward"
|
android:drawableRight="@drawable/ic_baseline_navigate"
|
||||||
android:text="提现纪录"
|
android:text="提现纪录"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/tv_unit"
|
app:layout_constraintBottom_toBottomOf="@+id/tv_unit"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user