String[] oneSub = {"House", "Boat", "Candy", "Collection", "Sport", "Ball", "Head"};
for (int i = 0; i < oneSub.length; i++) {
View view = one.createSubItem(i);
((TextView) view.findViewById(R.id.sub_title)).setText(oneSub[i]);
}
<BUG>one.collapseSubItems();
ExpandingItem two = mExpandingList.createNewItem(R.layout.expanding_layout);
two.setIndicatorIconRes(R.drawable.ic_ghost);
((TextView) two.findViewById(R.id.title)).setText("Mary");</BUG>
String[] twoSub = {"Cat", "Mouse"};

String[] oneSub = {"House", "Boat", "Candy", "Collection", "Sport", "Ball", "Head"};
for (int i = 0; i < oneSub.length; i++) {
View view = one.createSubItem(i);
((TextView) view.findViewById(R.id.sub_title)).setText(oneSub[i]);
}
one.collapseSubItems();
}
ExpandingItem two = mExpandingList.createNewItem(R.layout.expanding_layout);
if (two != null) {
two.setIndicatorIconRes(R.drawable.ic_ghost);
String[] twoSub = {"Cat", "Mouse"};
