次の方法で共有


BaseExpandableListAdapter.GetGroupId(Int32) Method

Definition

Gets the ID for the group at the given position.

[Android.Runtime.Register("getGroupId", "(I)J", "GetGetGroupId_IHandler")]
public abstract long GetGroupId (int groupPosition);
[<Android.Runtime.Register("getGroupId", "(I)J", "GetGetGroupId_IHandler")>]
abstract member GetGroupId : int -> int64

Parameters

groupPosition
Int32

the position of the group for which the ID is wanted

Returns

the ID associated with the group

Implements

Attributes

Remarks

Gets the ID for the group at the given position. This group ID must be unique across groups. The combined ID (see #getCombinedGroupId(long)) must be unique across ALL items (groups and all children).

Java documentation for android.widget.ExpandableListAdapter.getGroupId(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to