super(context);
}
public void addItem(ExpandingItem item) {
addView(item);
}
<BUG>public ExpandingItem createNewItem(int layoutId) throws Exception {
LayoutInflater inflater = LayoutInflater.from(getContext());</BUG>
ViewGroup item = (ViewGroup) inflater.inflate(layoutId, null, false);
if (item instanceof ExpandingItem) {
ExpandingItem expandingItem = (ExpandingItem) item;

super(context);
}
public void addItem(ExpandingItem item) {
addView(item);
}
public ExpandingItem createNewItem(int layoutId) {
LayoutInflater inflater = LayoutInflater.from(getContext());
ViewGroup item = (ViewGroup) inflater.inflate(layoutId, null, false);
if (item instanceof ExpandingItem) {
ExpandingItem expandingItem = (ExpandingItem) item;
