0

I have added a button in expandable list view header. On clicking the button I need to pass a value from adapter to activity.

1 Answers1

0

You can add listener or simply use ((YourActivity)mContext).setMyValue();

The mContext is the context from your adapter constructor.

Kyryl Zotov
  • 1,788
  • 5
  • 24
  • 44