Closed lfdversluis closed 10 years ago
You can get an actual ExpandableListView by calling getRefrehsableView()
and set an adapter for it.
See below,
ExpandableListView actualListView = mPullRefreshExpandableListView.getRefreshableView();
actualListView.setAdapter(expandableAdapter);
Ah I see, @ncoolz thanks a lot for your comment. I'll close this issue.
To me it makes perfect sense to set a BaseExpandableListAdapter as adapter for a PullToRefreshExpandableListView, however this is currently not possible.
Is this a bug? If not how to work around it or what is a better alternative?