Java Code Examples for android.widget.ExpandableListView.OnGroupCollapseListener

The following are top voted examples for showing how to use android.widget.ExpandableListView.OnGroupCollapseListener. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: opentasks   File: TaskListFragment.java   View source code 5 votes vote down vote up
/**
 * 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();

}
 
Example 2
Project: AndroidViewHelper   File: ExpandableListViewWrapper.java   View source code 4 votes vote down vote up
/**
* @see ExpandableListView#setOnGroupCollapseListener(OnGroupCollapseListener)
*/
 public W setOnGroupCollapseListener(OnGroupCollapseListener onGroupCollapseListener) {
     mView.setOnGroupCollapseListener(onGroupCollapseListener);
     return (W) this;
 }
 
Example 3
Project: IkantechSupport   File: PinnedHeaderExpandableListView.java   View source code 4 votes vote down vote up
@Override
public void setOnGroupCollapseListener(
		OnGroupCollapseListener onGroupCollapseListener)
{
	mOnGroupCollapseListener = onGroupCollapseListener;
}