/[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 840 by torben, Fri Jun 11 18:46:46 2010 UTC revision 906 by torben, Fri Jun 25 23:59:58 2010 UTC
# Line 139  public class TimetableList extends ListA Line 139  public class TimetableList extends ListA
139                          if (success) {                          if (success) {
140                                  adapter.setTimetable(timetables);                                  adapter.setTimetable(timetables);
141                                  if (timetables.size() == 0) {                                  if (timetables.size() == 0) {
142                                          MessageBox.showMessage(TimetableList.this, getString(timetablelist_nodata));                                          MessageBox.showMessage(TimetableList.this, getString(timetablelist_nodata), true);
143                                  }                                  }
144                          } else { // communication or parse error                          } else { // communication or parse error
145                                  AlertDialog.Builder builder = new AlertDialog.Builder(TimetableList.this);                                                                                AlertDialog.Builder builder = new AlertDialog.Builder(TimetableList.this);                                              
# Line 155  public class TimetableList extends ListA Line 155  public class TimetableList extends ListA
155                                  builder.setNegativeButton(getString(generic_cancel), new DialogInterface.OnClickListener() {                                  builder.setNegativeButton(getString(generic_cancel), new DialogInterface.OnClickListener() {
156                                          public void onClick(DialogInterface dialog, int id) {                                          public void onClick(DialogInterface dialog, int id) {
157                                                  dialog.dismiss();                                                  dialog.dismiss();
158                                                    TimetableList.this.finish();
159                                          }                                                                                                }                                                      
160                                  });                                  });
161                                                                    

Legend:
Removed from v.840  
changed lines
  Added in v.906

  ViewVC Help
Powered by ViewVC 1.1.20