소스 검색

critical bug fix in record over view

Julien Clauter 11 년 전
부모
커밋
b1971d3b2f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/de/tudarmstadt/informatik/hostage/ui2/fragment/RecordOverviewFragment.java

+ 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));
             }
         });
 	}