222 |
if (success) { |
if (success) { |
223 |
adapter.setDepartures(departures); |
adapter.setDepartures(departures); |
224 |
if (departures.size() == 0) { |
if (departures.size() == 0) { |
225 |
MessageBox.showMessage(DepartureList.this, "No departures found"); |
MessageBox.showMessage(DepartureList.this, "No departures found", true); |
226 |
} |
} |
227 |
} else { // communication or parse error |
} else { // communication or parse error |
228 |
AlertDialog.Builder builder = new AlertDialog.Builder(DepartureList.this); |
AlertDialog.Builder builder = new AlertDialog.Builder(DepartureList.this); |