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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1834 by torben, Thu May 5 15:32:04 2011 UTC revision 1835 by torben, Tue Aug 21 19:48:03 2012 UTC
# Line 73  public class DepartureListAdapter extend Line 73  public class DepartureListAdapter extend
73                                    
74                  ((TextView) root.findViewById(R.id.Time)).setText(station.getTime());                  ((TextView) root.findViewById(R.id.Time)).setText(station.getTime());
75                  ((TextView) root.findViewById(R.id.Destination)).setText(station.getDestination());                  ((TextView) root.findViewById(R.id.Destination)).setText(station.getDestination());
76                                    ((TextView) root.findViewById(R.id.Platform)).setText(station.getPlatform());
77                                    
78                  if ( (station.getStatus() != null && station.getStatus().length() > 0) || (station.getNote() != null && station.getNote().length() > 0) ) {                  if ( (station.getStatus() != null && station.getStatus().length() > 0) || (station.getNote() != null && station.getNote().length() > 0) ) {
79                          ImageView image = (ImageView) root.findViewById(R.id.InfoIcon);                          ImageView image = (ImageView) root.findViewById(R.id.InfoIcon);

Legend:
Removed from v.1834  
changed lines
  Added in v.1835

  ViewVC Help
Powered by ViewVC 1.1.20