@Override
 public void onRequestFailure(int error, String errorMsg, String requestAction) {
   if (HttpRequest.PAT_NEARBYDOC.equals(requestAction)) {
     listView.setAdapter(new PatientFJYSAdapter(this, new ArrayList<PatNearDoc>()));
   } else if (HttpRequest.PAT_NEARBYHOSP.equals(requestAction)) {
     listView.setAdapter(new PatientFJYYAdapter(this, new ArrayList<PatNearHosp>()));
   }
   showToast(errorMsg);
   dismissProgressDialog();
 }
 @Override
 public void onRequestSucceed(Object data, String requestAction) {
   if (HttpRequest.PAT_CHUZHEN.equals(requestAction)) {
     patNearDocs.clear();
     patNearDocs.addAll(((PatientNearByDocResponse) data).getDatalist());
     listView.setAdapter(
         new PatientFJYSAdapter(this, ((PatientNearByDocResponse) data).getDatalist()));
     isDoc = true;
   } else if (HttpRequest.PAT_NEARBYHOSP.equals(requestAction)) {
     patNearHosps.clear();
     patNearHosps.addAll(((PatientNearByHospResponse) data).getDatalist());
     listView.setAdapter(
         new PatientFJYYAdapter(this, ((PatientNearByHospResponse) data).getDatalist()));
     isDoc = false;
   }
   dismissProgressDialog();
 }