/[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 1436 by torben, Tue May 3 16:28:56 2011 UTC revision 1437 by torben, Tue May 3 16:39:48 2011 UTC
# Line 31  public class DepartureListAdapter extend Line 31  public class DepartureListAdapter extend
31                                    
32                  inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);                            inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);          
33          }          }
34                            
35          public void setShowDetails(boolean showDetails) {  
                 this.showDetails = showDetails;  
         }  
           
         public boolean getShowDetails() {  
                 return showDetails;  
         }  
           
36          public void toggleShowDetails() {          public void toggleShowDetails() {
37                  showDetails = !showDetails;                  showDetails = !showDetails;
38                  notifyDataSetChanged();                  notifyDataSetChanged();

Legend:
Removed from v.1436  
changed lines
  Added in v.1437

  ViewVC Help
Powered by ViewVC 1.1.20