Android-SlideExpandableListView
Android-SlideExpandableListView copied to clipboard
It is impossible to change the toggle button id without chaning your code
I want to use your lib, I just have the problem that I don't want to use that more button. Instead I just want to click on the element itself. So far no problem, if I could change the button id in SlideExpandableListAdapter. By the way is it really nessesary to wraper the Adapter so often? If I reviewed your code correctly you wrap it up about three times.
As workaround I added this method:
public void setAdapter(ListAdapter adapter, int toggle_button_id, int expandable_view_id) {
this.adapter = new SlideExpandableListAdapter(adapter, toggle_button_id, expandable_view_id);
super.setAdapter(this.adapter);
}