(ArrayList<GalleryItem> files)
| 143 | } |
| 144 | |
| 145 | public void add(ArrayList<GalleryItem> files) |
| 146 | { |
| 147 | try |
| 148 | { |
| 149 | data.clear(); |
| 150 | data.addAll(files); |
| 151 | |
| 152 | } |
| 153 | catch(Exception e) |
| 154 | { |
| 155 | e.printStackTrace(); |
| 156 | } |
| 157 | |
| 158 | notifyDataSetChanged(); |
| 159 | } |
| 160 | |
| 161 | public void changeSelection(View v, int position) |
| 162 | { |
no test coverage detected