private void setAdapter() { exAdapter = new BabyMyExpandableListViewLuYinAdapter(fa, fa, groupItems); listView.setAdapter(exAdapter); if (isShowDelTag) { exAdapter.showDeleteTag(isShowDelTag); } int groupCount = exAdapter.getGroupCount(); for (int i = 0; i < groupCount; i++) { listView.expandGroup(i); } }
public void showDeleteTag(boolean isShow) { isShowDelTag = isShow; exAdapter.showDeleteTag(isShowDelTag); }