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

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

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

revision 363 by torben, Tue Sep 29 21:30:16 2009 UTC revision 364 by torben, Wed Sep 30 06:02:03 2009 UTC
# Line 101  public class DepartureList extends ListA Line 101  public class DepartureList extends ListA
101                  super.onListItemClick(l, v, position, id);                  super.onListItemClick(l, v, position, id);
102                                    
103                  selectedItemId = position;                  selectedItemId = position;
104                    
105                    DepartureBean dep = departures.get(selectedItemId);
106                    
107                  Intent intent = new Intent(this, TimetableList.class);                  Intent intent = new Intent(this, TimetableList.class);
108                  intent.putExtra("asd", 0); //Add all necessary data                  intent.putExtra("departure", dep);
109                                    
110                  startActivity(intent);                  startActivity(intent);
111                                                                    

Legend:
Removed from v.363  
changed lines
  Added in v.364

  ViewVC Help
Powered by ViewVC 1.1.20