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 |
} |
} |