jjzjj

ExpandableListConnector

全部标签

android - ExpandableListView.getAdapter() 返回 android.widget.ExpandableListConnector

在我的项目中,我试图通过调用getAdapter()方法来访问设置为ExpandableListView的适配器(BaseExpandableListAdapter)。但是getAdapter()返回android.widget.ExpandableListConnector。这是我的代码mExpandableListView.setAdapter(newItemsExpListAdapter(navigationDrawerItems,getActivity()));Log.e("adapter",mExpandableListView.getAdapter().getClass()