ITEEDU


ExpandableListView.OnGroupClickListener

版本:Android 3.0 r1

 

结构

继承关系

public static interface ExpandableListView.OnGroupClickListener

 

java.lang.Object

android.widget.ExpandableListView.OnGroupClickListener

 

类概述

这是一个定义了当可折叠列表(expandable list)里的组(group)发生点击事件时调用的回调方法的接口。

 

公共方法

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

         用当可折叠列表里的组(group)被点击的时候被调用的回调方法。

参数

                            parent                     发生点击事件的ExpandableListConnector

                            v                     在expandable list/ListView中被点击的视图(View)

                            groupPosition                   被点击的组(group)在ExpandableListConnector中的位置(索引)

                            id                  被点击的组(group)的行ID(索引)

             返回值

                            当点击事件被处理的时候返回true