代码上传。
This commit is contained in:
parent
c446ea1734
commit
1392ec4220
|
@ -192,6 +192,9 @@ public class ChooseVersionActivity extends BaseActivity {
|
||||||
map.put("standardCodes", deviceModelsBean.getStandardCodes());
|
map.put("standardCodes", deviceModelsBean.getStandardCodes());
|
||||||
map.put("deviceType", deviceType);
|
map.put("deviceType", deviceType);
|
||||||
map.put("deviceModel", deviceModel);
|
map.put("deviceModel", deviceModel);
|
||||||
|
if (null != getIntent().getExtras().get("version")) {
|
||||||
|
map.put("version", getIntent().getExtras().get("version").toString());
|
||||||
|
}
|
||||||
util.requestGetByAsy(NetWorkUrl.DEIVCE_AIDEVICE_LIST, map, new NetWorkUtil.ReqCallBack() {
|
util.requestGetByAsy(NetWorkUrl.DEIVCE_AIDEVICE_LIST, map, new NetWorkUtil.ReqCallBack() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(String respone) {
|
public void onSuccess(String respone) {
|
||||||
|
|
|
@ -276,9 +276,7 @@ public class YblLightSearchActivity extends BaseActivity {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void showIsFinishThis() {
|
private void showIsFinishThis() {
|
||||||
ConfirmDialog dialog = new ConfirmDialog(getActivity(), new Callback() {
|
ConfirmDialog dialog = new ConfirmDialog(getActivity(), position -> {
|
||||||
@Override
|
|
||||||
public void callback(int position) {
|
|
||||||
switch (position) {
|
switch (position) {
|
||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
|
@ -286,7 +284,6 @@ public class YblLightSearchActivity extends BaseActivity {
|
||||||
finish();
|
finish();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
});
|
});
|
||||||
dialog.setContent("您正在搜索设备中请勿退出,如有退出可能在接下来的20秒期间无法再次添加设备");
|
dialog.setContent("您正在搜索设备中请勿退出,如有退出可能在接下来的20秒期间无法再次添加设备");
|
||||||
dialog.setCancleBtn(R.string.cancel);
|
dialog.setCancleBtn(R.string.cancel);
|
||||||
|
|
Loading…
Reference in New Issue