/[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 1484 by torben, Thu May 5 15:11:00 2011 UTC revision 1485 by torben, Sat May 28 17:38:44 2011 UTC
# Line 249  public class StationList extends ListAct Line 249  public class StationList extends ListAct
249                  switch (item.getItemId()) {                  switch (item.getItemId()) {
250                  case OPTIONS_MAP:                  case OPTIONS_MAP:
251                                                    
252                            if ( stations == null || stations.entries == null || stations.entries.size() == 0 ) {
253                                    Toast.makeText(this, "No stations to show on map", Toast.LENGTH_SHORT); //TODO: Translate
254                                    return true;
255                            }
256                            
257                          Intent intent = new Intent(this,StationMapView.class);                          Intent intent = new Intent(this,StationMapView.class);
258                                                    
259                          ArrayList<GeoPair> stationPoints = new ArrayList<GeoPair>();                          ArrayList<GeoPair> stationPoints = new ArrayList<GeoPair>();

Legend:
Removed from v.1484  
changed lines
  Added in v.1485

  ViewVC Help
Powered by ViewVC 1.1.20