How to add a clickable button to either parent or child of simple expandablelist in android
- by Henna
I have created an application for a simple expandablelist. In the code i am displaying some textviews in the child . I am able to add a button in the child of the expandable list. But the problem I am facing is with the onclick event of the button.Since I am creating the button inside onChildClick(), the button appears, but its onclick event dosent take place. I also tried adding the button with its onclick event in the group as well, but I am facing similar problem there also.
If anyone could help , it would be greatly appreciated.
Thanks in advance,
HM