| | |
| | | viewBinding.toolbarTopFragmentHouseListRl.topMoreIv.setOnClickListener(new View.OnClickListener() { |
| | | @Override |
| | | public void onClick(View v) { |
| | | String path = "pages/powerStationDetail/index"; |
| | | // HDLUniMP.UNI_PATH_MILLIMETER;//原生通知小程序地址 |
| | | HDLUniMP.UniCallBackBaseBean uniCallBackBaseBean = new HDLUniMP.UniCallBackBaseBean(); |
| | | uniCallBackBaseBean.setType(HDLUniMP.UNI_EVENT_HOME_DETAILS); |
| | | JSONObject json = uniCallBackBaseBean.getJSONObject(uniCallBackBaseBean); |
| | | |
| | | // HDLUniMPSDKManager.getInstance().openUniMP(HDLUniMP.UNI_APP_ID, path, json, new HDLUniMPSDKManager.IOnOtherUniMPEventCallBack() { |
| | | // String path = "pages/powerStationDetail/index"; |
| | | //// HDLUniMP.UNI_PATH_MILLIMETER;//原生通知小程序地址 |
| | | // HDLUniMP.UniCallBackBaseBean uniCallBackBaseBean = new HDLUniMP.UniCallBackBaseBean(); |
| | | // uniCallBackBaseBean.setType(HDLUniMP.UNI_EVENT_HOME_DETAILS); |
| | | // uniCallBackBaseBean.setPath(path); |
| | | // JSONObject jsonObject = uniCallBackBaseBean.getJSONObject(); |
| | | // |
| | | // HDLUniMPSDKManager.getInstance().openUniMP(HDLUniMP.UNI_APP_ID, path, jsonObject, new HDLUniMPSDKManager.IOnOtherUniMPEventCallBack() { |
| | | // @Override |
| | | // public void onOtherUniMPEventReceive(String appid, String event, Object data, DCUniMPJSCallback callback) { |
| | | // |
| | |
| | | // startActivity(FastScanActivity.class); |
| | | // } |
| | | |
| | | // ConfirmationInputDialog confirmationInputDialog =new ConfirmationInputDialog(_mActivity); |
| | | // confirmationInputDialog.show(); |
| | | // confirmationInputDialog.setNoOnclickListener(new ConfirmationInputDialog.onNoOnclickListener() { |
| | | // @Override |
| | | // public void Cancel() { |
| | | // confirmationInputDialog.dismiss(); |
| | | // } |
| | | // }); |
| | | ConfirmationInputDialog confirmationInputDialog = new ConfirmationInputDialog(_mActivity); |
| | | confirmationInputDialog.show(); |
| | | confirmationInputDialog.setNoOnclickListener(new ConfirmationInputDialog.onNoOnclickListener() { |
| | | @Override |
| | | public void Cancel() { |
| | | confirmationInputDialog.dismiss(); |
| | | } |
| | | }); |
| | | |
| | | } |
| | | }); |