expandablelistview 设立默认展开第一组

expandablelistview 设置默认展开第一组?? ?? ExAdapter adapter?? ?? ExpandableListView exList??????

expandablelistview 设置默认展开第一组

?? ?? ExAdapter adapter;
?? ?? ExpandableListView exList;

?

?????? adapter=new ExAdapter(DiseaseDetail.this);
??????? exList = (ExpandableListView) findViewById(R.id.list2);
??? ??? exList.setAdapter(adapter);
??? ??? exList.expandGroup(0);