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(); |