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

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

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

revision 1415 by torben, Mon Apr 4 15:28:12 2011 UTC revision 1416 by torben, Mon May 2 16:08:01 2011 UTC
# Line 18  public class TimetableListAdapter extend Line 18  public class TimetableListAdapter extend
18                    
19          @Override          @Override
20          public boolean isEnabled(int position) {          public boolean isEnabled(int position) {
21                  return ( timetable.entries.get(position).getStationId() != -1 );                  return ( timetable.entries.get(position).getStationEntry() != null );
22          }          }
23    
24          public TimetableListAdapter(Context context) {          public TimetableListAdapter(Context context) {

Legend:
Removed from v.1415  
changed lines
  Added in v.1416

  ViewVC Help
Powered by ViewVC 1.1.20