/[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 1266 by torben, Tue Apr 5 15:05:16 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_equipmentrelated) );
76                    note = note.replace("Passagerforhold", this.getString(R.string.timetablelist_passengerrelated) );
77                    note = note.replace("Forventet rettidig afgang", this.getString(R.string.timetablelist_expectedtimelydeparture) );
78                                    
                 // tilføj:  
                 // * teknisk fejl på et signal  
79    
80                                    
                   
81                  ((TextView)findViewById(R.id.Status)).setText(status);                  ((TextView)findViewById(R.id.Status)).setText(status);
82                  ((TextView)findViewById(R.id.Note)).setText(note);                  ((TextView)findViewById(R.id.Note)).setText(note);
83                                                                            
   
                   
                   
                                                   
84                                    
85                  ProviderFactory.purgeOldEntries(); //cleanup before fetching more data                  ProviderFactory.purgeOldEntries(); //cleanup before fetching more data
86                                    
# Line 190  public class TimetableList extends ListA Line 186  public class TimetableList extends ListA
186                          super.onPostExecute(result);                          super.onPostExecute(result);
187                          dismissDialog(DLG_PROGRESS);                          dismissDialog(DLG_PROGRESS);
188                    
189                                                    //TODO: differentiate between a communication error and a downed bane.dk site  
190                          if (timetables != null) {                          if (timetables != null) {
191                                  commFailCounter = 0;                                  commFailCounter = 0;
192                                  TimetableList.this.getListView().invalidateViews();                                  TimetableList.this.getListView().invalidateViews();

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

  ViewVC Help
Powered by ViewVC 1.1.20