How to add a clickable button to either parent or child of simple expandablelist in android

Posted by Henna on Stack Overflow See other posts from Stack Overflow or by Henna
Published on 2010-04-13T18:20:57Z Indexed on 2010/04/13 18:23 UTC
Read the original article Hit count: 185

Filed under:

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

© Stack Overflow or respective owner

Related posts about clickable