Forráskód Böngészése

critical bug fix in record over view

Julien Clauter 10 éve
szülő
commit
b1971d3b2f

+ 2 - 2
src/de/tudarmstadt/informatik/hostage/ui2/fragment/RecordOverviewFragment.java

@@ -356,13 +356,13 @@ public class RecordOverviewFragment extends Fragment implements ChecklistDialog.
         mylist.setOnGroupExpandListener(new ExpandableListView.OnGroupExpandListener() {
             @Override
             public void onGroupExpand(int i) {
-                RecordOverviewFragment.this.openSections.add(i);
+                RecordOverviewFragment.this.openSections.add(new Integer(i));
             }
         });
         mylist.setOnGroupCollapseListener(new ExpandableListView.OnGroupCollapseListener() {
             @Override
             public void onGroupCollapse(int i) {
-                RecordOverviewFragment.this.openSections.remove(i);
+                RecordOverviewFragment.this.openSections.remove(new Integer(i));
             }
         });
 	}