语言

BaseExpandableListAdapter.GetCombinedGroupId(Int64) 方法

定义

如果根据此方案预见 ID 中发生冲突,请重写此方法:

[Android.Runtime.Register("getCombinedGroupId", "(J)J", "GetGetCombinedGroupId_JHandler")]
public virtual long GetCombinedGroupId(long groupId);
[<Android.Runtime.Register("getCombinedGroupId", "(J)J", "GetGetCombinedGroupId_JHandler")>]
abstract member GetCombinedGroupId : int64 -> int64
override this.GetCombinedGroupId : int64 -> int64

参数

groupId
Int64

组的 ID

返回

此列表中所有组和子组的唯一(可能稳定)ID。

实现

特性

注解

如果根据此方案预见 ID 中发生冲突,请重写此方法:

基本实现返回长:li< 位 0:>此 ID 是否指向子级(未设置)或组(set),因此对于此方法,此位将为 0。 <li> bit 1-31:groupId <li> 位 32-63 的下 31 位:lower 32 bit of the childId.

请参阅此成员的 Android 参考文档。

Java文档android.widget.BaseExpandableListAdapter.getCombinedGroupId(long)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于