Esempio n. 1
0
 @Override
 public void onClick(View v) {
   String typeId = dataList.get(selectedId).get("id") + "";
   bundle.putString("typeId", typeId);
   bundle.putString("typeName", dataList.get(selectedId).get("typeName") + "");
   bundle.putString("monitoringTypeImage", imageUrl);
   AddMonitorPointGWID fragment = new AddMonitorPointGWID();
   MainActivityControl.changeMainPage(bundle, fragment);
 }
 @Override
 public void getData(HashMap<String, Object> resultMap) {
   if (resultMap != null) {
     if (ICSToast.operateResult(resultMap)) {
       MainActivityControl.backFragment(0, 1);
       ICSToast.showToast(R.string.opeartion_success_text, activity);
     } else {
       ICSToast.showToast(R.string.opeartion_success_text, activity);
     }
   }
 }