BaseExpandableListAdapter.GetCombinedGroupId(Int64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果你預見基於此方案的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會發生衝突,請覆寫此方法:
基礎實作回傳長 <: li> 位元 0:此 ID 指向子節點(未設定)或群組(集合),因此此方法中該位元為 0。 <li> 位元 1-31:groupId <的下 31 位元 li 位元 32-63> :childId 的下 32 位元。
請參閱 Android 參考文件中的此成員資料。
Java 文件 android.widget.BaseExpandableListAdapter.getCombinedGroupId(long)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。