tjerkw / Android-SlideExpandableListView

A better ExpandableListView, with animated expandable views for each list item
Apache License 2.0
1.98k stars 741 forks source link

Change the clickable button to a clickable view #10

Closed mridang closed 11 years ago

mridang commented 11 years ago

Currently, the SlideExpandableListAdapter requires a Button to be passed in with the constructor. This Button objects is the object that toggles the expand/collapse animation. This could be a modified to accept a View object instead so that I can make any thing in my list item toggle the animation. I've tried replacing all the Buttons with Views and it works.

tjerkw commented 11 years ago

I agree, going to replace it now. Thanks for the idea!

tjerkw commented 11 years ago

Done! Could you check my fix?