539 |
showMessageAndClose(getString(stationlist_nostations)); |
showMessageAndClose(getString(stationlist_nostations)); |
540 |
} |
} |
541 |
stations = stationProvider.getStations(); |
stations = stationProvider.getStations(); |
542 |
|
|
543 |
|
StationList.this.getListView().invalidateViews(); |
544 |
adapter.setStations( stations ); |
adapter.setStations( stations ); |
545 |
|
|
546 |
|
|
547 |
} else { //communication or parse errors |
} else { //communication or parse errors |
548 |
AlertDialog.Builder builder = new AlertDialog.Builder(StationList.this); |
AlertDialog.Builder builder = new AlertDialog.Builder(StationList.this); |
549 |
builder.setMessage(getString(stationlist_fetcherror)); |
builder.setMessage(getString(stationlist_fetcherror)); |