/[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 1144 by torben, Wed Sep 29 23:05:14 2010 UTC revision 1164 by torben, Wed Oct 6 10:42:51 2010 UTC
# Line 473  public class StationList extends ListAct Line 473  public class StationList extends ListAct
473                                          builder.setNegativeButton( getString(generic_cancel), new DialogInterface.OnClickListener() {                                          builder.setNegativeButton( getString(generic_cancel), new DialogInterface.OnClickListener() {
474                                                  public void onClick(DialogInterface dialog, int id) {                                                  public void onClick(DialogInterface dialog, int id) {
475                                                          dialog.dismiss();                                                          dialog.dismiss();
476                                                            StationList.this.finish(); // Close this Activity
477                                                  }                                                                                                        }                                                      
478                                          });                                          });
479                                          builder.show();                                          builder.show();
# Line 530  public class StationList extends ListAct Line 531  public class StationList extends ListAct
531    
532                          switch (method) {                          switch (method) {
533                          case ByLocation:                          case ByLocation:
534                                  stations = stationProvider.lookupStations(loc);                                  stations = stationProvider.lookupStationsByLocation(loc);
535                                  break;                                  break;
536                          case ByName:                          case ByName:
537                                  stations = stationProvider.lookupStationsByName(name);                                  stations = stationProvider.lookupStationsByName(name);

Legend:
Removed from v.1144  
changed lines
  Added in v.1164

  ViewVC Help
Powered by ViewVC 1.1.20