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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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);

Legend:
Removed from v.368  
changed lines
  Added in v.369

  ViewVC Help
Powered by ViewVC 1.1.20