/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/StationList.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/StationList.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 916 by torben, Fri Jun 25 23:59:58 2010 UTC revision 917 by torben, Sat Jun 26 10:50:34 2010 UTC
# Line 539  public class StationList extends ListAct Line 539  public class StationList extends ListAct
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));                          

Legend:
Removed from v.916  
changed lines
  Added in v.917

  ViewVC Help
Powered by ViewVC 1.1.20