private void getFromServer(String url, String left, String right) {

    try {

      // Checking if the server call happens only once for the same parameters. It does not however
      // store the previous history.
      if (!(left.equals(historyLeftSpinner) && right.equals(historyRightSpinner))) {
        historyLeftSpinner = left;
        historyRightSpinner = right;

        Utilities.showView(pageView, R.id.loadingPanel);

        if (false) {
          reEntryFlag = false;

          L.m("populating from bundle view");
          populateRecyclerView(
              bundle.<AccommodationAdd>getParcelableArrayList(SAConstants.STATE_CHANGED));

        } else {

          L.m("search accommodation fragment requresting simple search addds");
          new AccommodationBO(
              url,
              new AccommodationBI() {
                @Override
                public void onAccommodationAddsReady(ArrayList<AccommodationAdd> advertisements) {

                  L.m("populating from remote server");
                  reEntryFlag = false;

                  adds.clear();
                  adds.addAll(advertisements);
                  populateRecyclerView(advertisements);
                }

                // not needed
                @Override
                public void onApartmentNamesReady(ArrayList<String> apartmentNames) {}
              },
              SAConstants.ACCOMMODATION_ADDS);
        }
      }

    } catch (Exception e) {
      ErrorReporting.logReport(e);
    }
  }
  @Override
  public void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    L.m(resultCode + "");
  }