Java 类android.widget.ExpandableListView.OnGroupCollapseListener 实例源码
项目:opentasks
文件:TaskListFragment.java
/**
* prepares the update of the view after the group descriptor was changed
*/
public void prepareReload()
{
mAdapter = new ExpandableGroupDescriptorAdapter(getActivity(), getLoaderManager(), mGroupDescriptor);
mExpandableListView.setAdapter(mAdapter);
mExpandableListView.setOnChildClickListener((android.widget.ExpandableListView.OnChildClickListener) mTaskItemClickListener);
mExpandableListView.setOnGroupCollapseListener((android.widget.ExpandableListView.OnGroupCollapseListener) mTaskListCollapseListener);
mAdapter.setOnChildLoadedListener(this);
mAdapter.setChildCursorFilter(COMPLETED_FILTER);
restoreFilterState();
}
项目:AndroidViewHelper
文件:ExpandableListViewWrapper.java
/**
* @see ExpandableListView#setOnGroupCollapseListener(OnGroupCollapseListener)
*/
public W setOnGroupCollapseListener(OnGroupCollapseListener onGroupCollapseListener) {
mView.setOnGroupCollapseListener(onGroupCollapseListener);
return (W) this;
}
项目:IkantechSupport
文件:PinnedHeaderExpandableListView.java
@Override
public void setOnGroupCollapseListener(
OnGroupCollapseListener onGroupCollapseListener)
{
mOnGroupCollapseListener = onGroupCollapseListener;
}