String[] sevenSub = {"R2D2", "BB8"};
for (int i = 0; i < sevenSub.length; i++) {
View view = seven.createSubItem(i);
((TextView) view.findViewById(R.id.sub_title)).setText(sevenSub[i]);
}
<BUG>seven.collapseSubItems();
ExpandingItem eight = mExpandingList.createNewItem(R.layout.expanding_layout);
eight.setIndicatorColorRes(R.color.green);</BUG>
eight.setIndicatorIconRes(R.drawable.ic_ghost);
((TextView) eight.findViewById(R.id.title)).setText("Scott");

String[] sevenSub = {"R2D2", "BB8"};
for (int i = 0; i < sevenSub.length; i++) {
View view = seven.createSubItem(i);
((TextView) view.findViewById(R.id.sub_title)).setText(sevenSub[i]);
}
seven.collapseSubItems();
}
ExpandingItem eight = mExpandingList.createNewItem(R.layout.expanding_layout);
if (eight != null) {
eight.setIndicatorColorRes(R.color.green);
eight.setIndicatorIconRes(R.drawable.ic_ghost);
((TextView) eight.findViewById(R.id.title)).setText("Scott");
