/[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 1415 by torben, Mon May 2 11:54:17 2011 UTC revision 1416 by torben, Mon May 2 16:08:01 2011 UTC
# Line 106  public class TimetableList extends ListA Line 106  public class TimetableList extends ListA
106                  super.onListItemClick(l, v, position, id);                  super.onListItemClick(l, v, position, id);
107    
108                  TimetableEntry tt = timetables.entries.get(position);                  TimetableEntry tt = timetables.entries.get(position);
109                                                                    
                 StationEntry station = new StationEntry();  
                 station.setName( tt.getStation() );  
                 station.setId( tt.getStationId() );  
                 station.setIsRegional(true);  
                   
110                                    
111                  Intent intent = new Intent(this, DepartureList.class);                  Intent intent = new Intent(this, DepartureList.class);
112                  intent.putExtra("stationbean", station);                  intent.putExtra("stationbean", tt.getStationEntry() );
113                  startActivity(intent);                  startActivity(intent);
114                                    
115          }          }

Legend:
Removed from v.1415  
changed lines
  Added in v.1416

  ViewVC Help
Powered by ViewVC 1.1.20