Example usage for android.widget ExpandableListView setOnGroupCollapseListener

List of usage examples for android.widget ExpandableListView setOnGroupCollapseListener

Introduction

In this page you can find the example usage for android.widget ExpandableListView setOnGroupCollapseListener.

Prototype

public void setOnGroupCollapseListener(OnGroupCollapseListener onGroupCollapseListener) 

Source Link

Usage

From source file:dev.drsoran.moloko.fragments.base.MolokoExpandableListFragment.java

@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);
    loaderImpl.onViewCreated(view, savedInstanceState);
    editImpl.onViewCreated(view, savedInstanceState);

    final ExpandableListView expandableListView = getExpandableListView();

    expandableListView.setOnGroupClickListener(this);
    expandableListView.setOnChildClickListener(this);
    expandableListView.setOnGroupCollapseListener(this);
    expandableListView.setOnGroupExpandListener(this);
}