Parent Directory | Revision Log | Patch
revision 368 by torben, Wed Sep 30 13:32:20 2009 UTC | revision 369 by torben, Wed Sep 30 16:40:48 2009 UTC | |
---|---|---|
# | Line 104 public class StationList extends ListAct | Line 104 public class StationList extends ListAct |
104 | ||
105 | ArrayList<GeoPair> stationPoints = new ArrayList<GeoPair>(); | ArrayList<GeoPair> stationPoints = new ArrayList<GeoPair>(); |
106 | for (StationBean st : stations ) { | for (StationBean st : stations ) { |
107 | stationPoints.add( new GeoPair(st.getLatitude(), st.getLongitude()) ); | stationPoints.add( new GeoPair(st.getLatitude(), st.getLongitude(), st.getName()) ); |
108 | } | } |
109 | ||
110 | intent.putExtra("stations", stationPoints); | intent.putExtra("stations", stationPoints); |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |