本文整理汇总了Java中android.widget.ExpandableListView.OnGroupCollapseListener类的典型用法代码示例。如果您正苦于以下问题:Java OnGroupCollapseListener类的具体用法?Java OnGroupCollapseListener怎么用?Java OnGroupCollapseListener使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OnGroupCollapseListener类属于android.widget.ExpandableListView包,在下文中一共展示了OnGroupCollapseListener类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: prepareReload
import android.widget.ExpandableListView.OnGroupCollapseListener; //导入依赖的package包/类
/**
* 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();
}
示例2: setOnGroupCollapseListener
import android.widget.ExpandableListView.OnGroupCollapseListener; //导入依赖的package包/类
/**
* @see ExpandableListView#setOnGroupCollapseListener(OnGroupCollapseListener)
*/
public W setOnGroupCollapseListener(OnGroupCollapseListener onGroupCollapseListener) {
mView.setOnGroupCollapseListener(onGroupCollapseListener);
return (W) this;
}
示例3: setOnGroupCollapseListener
import android.widget.ExpandableListView.OnGroupCollapseListener; //导入依赖的package包/类
@Override
public void setOnGroupCollapseListener(
OnGroupCollapseListener onGroupCollapseListener)
{
mOnGroupCollapseListener = onGroupCollapseListener;
}