首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

expandablelistview 设立默认展开第一组

2012-06-26 
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);

热点排行