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

I have multiple item expanded in fragment. #99

Open chenchongyu opened 9 years ago

chenchongyu commented 9 years ago

It works well in my activity views.But It have multiple expanded items in my fragment view.That's my code: mListView = (ActionSlideExpandableListView) view.findViewById(R.id.file_path_list); footerView = activity.getLayoutInflater().inflate(R.layout.footer_load_more, null); mAdapter = new FileBrowserCursorAdapter(activity, list,mCurrentPath); mListView.setEmptyView(mEmptyView); mListView.addFooterView(footerView); footerView.setVisibility(View.GONE); mListView.setAdapter(new SlideExpandableListAdapter(mAdapter, R.id.expandable_toggle_button, R.id.expandable));

mListView.setOnScrollListener(this); mListView.setOnItemClickListener(this);