|
@@ -270,15 +270,7 @@ public class RecordOverviewFragment extends Fragment implements ChecklistDialog.
|
|
|
RecordListAdapter adapter = new RecordListAdapter(this.getApplicationContext(), groupTitle, sectionData);
|
|
|
|
|
|
mylist.setAdapter(adapter);
|
|
|
-
|
|
|
- if (this.sectionToOpen != null && this.sectionToOpen.length() != 0){
|
|
|
- if (this.getGroupTitle().contains(this.sectionToOpen)){
|
|
|
- int section = this.getGroupTitle().indexOf(this.sectionToOpen);
|
|
|
- mylist.expandGroup(section);
|
|
|
- this.sectionToOpen = "";
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
+ this.setSectionToOpen(this.sectionToOpen);
|
|
|
}
|
|
|
|
|
|
private void setSectionToOpen(String s){
|