String[] twoSub = {"Cat", "Mouse"};
for (int i = 0; i < twoSub.length; i++) {
View view = two.createSubItem(i);
((TextView) view.findViewById(R.id.sub_title)).setText(twoSub[i]);
}
<BUG>two.collapseSubItems();
ExpandingItem three = mExpandingList.createNewItem(R.layout.expanding_layout);
three.setIndicatorColorRes(R.color.purple);</BUG>
three.setIndicatorIconRes(R.drawable.ic_ghost);
((TextView) three.findViewById(R.id.title)).setText("Ana");

String[] twoSub = {"Cat", "Mouse"};
for (int i = 0; i < twoSub.length; i++) {
View view = two.createSubItem(i);
((TextView) view.findViewById(R.id.sub_title)).setText(twoSub[i]);
}
two.collapseSubItems();
}
ExpandingItem three = mExpandingList.createNewItem(R.layout.expanding_layout);
if (three != null) {
three.setIndicatorColorRes(R.color.purple);
three.setIndicatorIconRes(R.drawable.ic_ghost);
((TextView) three.findViewById(R.id.title)).setText("Ana");
