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

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

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

revision 1258 by torben, Mon Apr 4 15:47:06 2011 UTC revision 1263 by torben, Tue Apr 5 05:46:55 2011 UTC
# Line 72  public class TimetableList extends ListA Line 72  public class TimetableList extends ListA
72                  note = note.replace("Erstattet af", this.getString(R.string.timetablelist_replacedby) );                  note = note.replace("Erstattet af", this.getString(R.string.timetablelist_replacedby) );
73                  note = note.replace("Eksterne forhold", this.getString(R.string.timetablelist_externalconditions) );                  note = note.replace("Eksterne forhold", this.getString(R.string.timetablelist_externalconditions) );
74                  note = note.replace("Teknisk fejl på et signal", this.getString(R.string.timetablelist_technicalerroronsignal) );                  note = note.replace("Teknisk fejl på et signal", this.getString(R.string.timetablelist_technicalerroronsignal) );
75                                    note = note.replace("Materielforhold", this.getString(R.string.timetablelist_equipmentcircumstances) );
76                  // tilføj:                                  
                 // * teknisk fejl på et signal  
   
                   
77                                    
78                  ((TextView)findViewById(R.id.Status)).setText(status);                  ((TextView)findViewById(R.id.Status)).setText(status);
79                  ((TextView)findViewById(R.id.Note)).setText(note);                  ((TextView)findViewById(R.id.Note)).setText(note);
80                                                                            
   
                   
                   
                                                   
81                                    
82                  ProviderFactory.purgeOldEntries(); //cleanup before fetching more data                  ProviderFactory.purgeOldEntries(); //cleanup before fetching more data
83                                    
# Line 190  public class TimetableList extends ListA Line 183  public class TimetableList extends ListA
183                          super.onPostExecute(result);                          super.onPostExecute(result);
184                          dismissDialog(DLG_PROGRESS);                          dismissDialog(DLG_PROGRESS);
185                    
186                                                    //TODO: differentiate between a communication error and a downed bane.dk site  
187                          if (timetables != null) {                          if (timetables != null) {
188                                  commFailCounter = 0;                                  commFailCounter = 0;
189                                  TimetableList.this.getListView().invalidateViews();                                  TimetableList.this.getListView().invalidateViews();

Legend:
Removed from v.1258  
changed lines
  Added in v.1263

  ViewVC Help
Powered by ViewVC 1.1.20