309 |
super.onListItemClick(l, v, position, id); |
super.onListItemClick(l, v, position, id); |
310 |
|
|
311 |
StationBean station = stations.get(position); |
StationBean station = stations.get(position); |
|
|
|
|
double latitude = station.getLatitude(); |
|
|
double longitude = station.getLongitude(); |
|
|
|
|
|
|
|
312 |
|
|
313 |
Intent intent = new Intent(this, DepartureList.class); |
Intent intent = new Intent(this, DepartureList.class); |
314 |
intent.putExtra("name", station.getName()); |
intent.putExtra("stationbean", station); |
|
intent.putExtra("distance", station.getDistance()); |
|
|
intent.putExtra("latitude", latitude); |
|
|
intent.putExtra("longitude", longitude); |
|
|
intent.putExtra("stationid", station.getId()); |
|
|
intent.putExtra("address", station.getAddress()); |
|
|
intent.putExtra("isregional", station.isRegional()); |
|
|
intent.putExtra("isstrain", station.isSTrain()); |
|
|
intent.putExtra("ismetro", station.isMetro()); |
|
315 |
startActivity(intent); |
startActivity(intent); |
316 |
} |
} |
317 |
|
|