| | |
| | | houseListAdapter.setDelOnclickListener(new HouseListAdapter.OnDelClickListener() { |
| | | @Override |
| | | public void onDelClick(int position, HouseIdBean houseIdBean) { |
| | | if (houseIdBean.isOtherShare()) { |
| | | //分享过来的电站不能删除 |
| | | HdlThreadLogic.toast(_mActivity, getString(R.string.no_permission_delete_home)); |
| | | return; |
| | | } |
| | | |
| | | DelayedConfirmationCancelDialog delayedConfirmationCancelDialog = new DelayedConfirmationCancelDialog(_mActivity); |
| | | delayedConfirmationCancelDialog.show(); |
| | | delayedConfirmationCancelDialog.isHideTitle(true); |
| | | String del_home = getString(R.string.confirm_deletion) + "\"" + houseIdBean.getHomeName() + "\""+"?"; |
| | | String del_home = getString(R.string.confirm_deletion) + "\"" + houseIdBean.getHomeName() + "\"" + "?"; |
| | | delayedConfirmationCancelDialog.setContent(del_home); |
| | | |
| | | // delayedConfirmationCancelDialog.startCountdown(4); |