// Callback method used by PlaceDownloaderTask public void addNewPlace(PlaceRecord place) { Log.i(TAG, "Entered addNewPlace()"); if (place.getCountryName() == null || place.getCountryName().isEmpty()) { showToast(getString(R.string.no_country_string)); } else if (!mAdapter.intersects(place.getLocation())) { place.setDateVisited(new Date()); mAdapter.add(place); mAdapter.notifyDataSetChanged(); } else { showToast(getString(R.string.duplicate_location_string)); } }