String[] sixSub = {"Blastoise", "Charmander"};
for (int i = 0; i < sixSub.length; i++) {
View view = six.createSubItem(i);
((TextView) view.findViewById(R.id.sub_title)).setText(sixSub[i]);
}
<BUG>six.collapseSubItems();
ExpandingItem seven = mExpandingList.createNewItem(R.layout.expanding_layout);
seven.setIndicatorColorRes(R.color.orange);</BUG>
seven.setIndicatorIconRes(R.drawable.ic_ghost);
((TextView) seven.findViewById(R.id.title)).setText("Peter");

String[] sixSub = {"Blastoise", "Charmander"};
for (int i = 0; i < sixSub.length; i++) {
View view = six.createSubItem(i);
((TextView) view.findViewById(R.id.sub_title)).setText(sixSub[i]);
}
six.collapseSubItems();
}
ExpandingItem seven = mExpandingList.createNewItem(R.layout.expanding_layout);
if (seven != null) {
seven.setIndicatorColorRes(R.color.orange);
seven.setIndicatorIconRes(R.drawable.ic_ghost);
((TextView) seven.findViewById(R.id.title)).setText("Peter");
