@Override protected void handlerLoginInfo(Context context, HandleResult handleResult, int paramInt) { loadfinish = true; if (handleResult.getiSuccess() != null && handleResult.getiSuccess().equals("success")) { Count += Constants.COUNT_OF_LIST_MEETING_BEAN; if (lv_base.getAdapter() == null) { list = Constants.list_meeting_hyssh_bean; if (list.size() == 0) { return; } adapter = new MyMetting_Hyssh_Adapter(Hyxx_hyssh_MainActivity.this, list); addFoot(); lv_base.setAdapter(adapter); } else { if (isSearchButtonClickedFirst) { list = Constants.list_meeting_hyssh_bean; if (list.size() == 0) { return; } adapter = new MyMetting_Hyssh_Adapter(Hyxx_hyssh_MainActivity.this, list); lv_base.setAdapter(adapter); isSearchButtonClickedFirst = false; } else { list.addAll(Constants.list_meeting_hyssh_bean); adapter.notifyDataSetChanged(); } } } else if (handleResult.getiSuccess() != null && handleResult.getiSuccess().equals("success_0")) { Count = 0; if (!haveAddFoot) { addFoot(); } list = new ArrayList<Meeting_hyssh_Bean>(); adapter = new MyMetting_Hyssh_Adapter(Hyxx_hyssh_MainActivity.this, list); lv_base.setAdapter(adapter); } tishiInfo(Constants.COUNT_OF_LIST_MEETING_BEAN, Count); }
@Override protected void handlerLoginInfo(Context context, HandleResult handleResult, int paramInt) { if (handleResult.getiSuccess().equals("success")) { bean = Constants.mymeetingdetail_bean; if (bean != null && bean.getStatus().equals("2000")) { Dialog_Toast.qianshoudialog1( context, handler, Integer.valueOf(list.get(position1).getRoomLogID()).intValue()); } else if (bean != null && bean.getStatus().equals("5000")) { Dialog_Toast.qianshoudialog2( context, handler, Integer.valueOf(list.get(position1).getRoomLogID()).intValue()); } else if (bean != null && bean.getStatus().equals("0000")) { Dialog_Toast.qianshoudialog3( context, handler, Integer.valueOf(list.get(position1).getRoomLogID()).intValue()); } } }