I\'m looking for an api like isExpanded() or isCollapsed() that tell me if a group is expanded or collapsed.
If u use BaseExpandableListAdapter
class you have getGroupView()
override method.
public View getGroupView(int i, boolean b, View view, ViewGroup viewGroup) {
// Here is your expand list view parent id
// b specify that parent expand or not.
.............
if(b){
imdDownArrow.setVisibility(View.GONE);
imdUpArrow.setVisibility(View.VISIBLE);
}else{
imdDownArrow.setVisibility(View.VISIBLE);
imdUpArrow.setVisibility(View.GONE);
}
...............
return view;
}
so using this simple code you can show arrow up or down