/[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 370 by torben, Wed Sep 30 16:40:48 2009 UTC revision 371 by torben, Wed Sep 30 19:09:59 2009 UTC
# Line 73  public class StationList extends ListAct Line 73  public class StationList extends ListAct
73                          adapter.setStations(stations);                          adapter.setStations(stations);
74                  }                  }
75          }          }
76            
77    
78      @Override      @Override
79      public void onSaveInstanceState(Bundle outState)      public void onSaveInstanceState(Bundle outState)
80      {      {
# Line 112  public class StationList extends ListAct Line 113  public class StationList extends ListAct
113                          startActivity(intent);                          startActivity(intent);
114                          retval = true;                          retval = true;
115                          break;                          break;
116                    case OPTIONS_ABOUT:
117                            String ver = this.getResources().getString(R.string.app_version);
118                            
119                            StringBuffer message = new StringBuffer();
120                            message.append("TrainInfo DK v").append(ver).append("\n");
121                            message.append("By Torben Nielsen\n");
122    
123                            MessageBox.showMessage(this, message.toString());
124                            retval = true;
125                            break;
126                  default:                  default:
127                          retval = super.onOptionsItemSelected(item);                          retval = super.onOptionsItemSelected(item);
128                  }                  }

Legend:
Removed from v.370  
changed lines
  Added in v.371

  ViewVC Help
Powered by ViewVC 1.1.20