代码上传。
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("deviceType", deviceType);
|
||||
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() {
|
||||
@Override
|
||||
public void onSuccess(String respone) {
|
||||
|
|
|
@ -276,16 +276,13 @@ public class YblLightSearchActivity extends BaseActivity {
|
|||
}
|
||||
|
||||
private void showIsFinishThis() {
|
||||
ConfirmDialog dialog = new ConfirmDialog(getActivity(), new Callback() {
|
||||
@Override
|
||||
public void callback(int position) {
|
||||
switch (position) {
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
finish();
|
||||
break;
|
||||
}
|
||||
ConfirmDialog dialog = new ConfirmDialog(getActivity(), position -> {
|
||||
switch (position) {
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
finish();
|
||||
break;
|
||||
}
|
||||
});
|
||||
dialog.setContent("您正在搜索设备中请勿退出,如有退出可能在接下来的20秒期间无法再次添加设备");
|
||||
|
|
Loading…
Reference in New Issue