Reputation: 1994
Does Mono for Android support ExpandableListView? If so, is there an example of this where the selected item is available as a CLR type?
Clarification:
I have looked into implementing this, yet we have faced issues in extending the BaseExpandableListAdapter due to the Java.Lang.Object being the return type of the method signatures.
Upvotes: 1
Views: 334
Reputation: 10139
The view is exposed as Android.Widget.ExpandableListView
You can use the SelectedId and SelectedPosition properties on the list's adapter (IExpandableListAdapter) to get at the underlying item that is selected.
Upvotes: 2