Most visited

Recently visited

Added in API level 1

ExpandableListView.OnGroupClickListener

public static interface ExpandableListView.OnGroupClickListener

android.widget.ExpandableListView.OnGroupClickListener


当此可扩展列表中的组已被点击时,将调用回调的接口定义。

Summary

Public methods

abstract boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, long id)

当点击此可展开列表中的组时,将调用回调方法。

Public methods

onGroupClick

Added in API level 1
boolean onGroupClick (ExpandableListView parent, 
                View v, 
                int groupPosition, 
                long id)

当点击此可展开列表中的组时,将调用回调方法。

Parameters
parent ExpandableListView: The ExpandableListConnector where the click happened
v View: The view within the expandable list/ListView that was clicked
groupPosition int: The group position that was clicked
id long: The row id of the group that was clicked
Returns
boolean True if the click was handled

Hooray!