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));
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);