IExpandableListAdapter.GetCombinedChildId(Int64, Int64) メソッド

定義

このリスト内の任意の項目 (グループまたは子) で一意である子の ID を取得します。

[Android.Runtime.Register("getCombinedChildId", "(JJ)J", "GetGetCombinedChildId_JJHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long GetCombinedChildId (long groupId, long childId);
[<Android.Runtime.Register("getCombinedChildId", "(JJ)J", "GetGetCombinedChildId_JJHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetCombinedChildId : int64 * int64 -> int64

パラメーター

groupId
Int64

この子を含むグループの ID。

childId
Int64

子の ID。

戻り値

このリスト内のすべてのグループと子の子の一意の (および安定している可能性がある) ID。

属性

注釈

このリスト内の任意の項目 (グループまたは子) で一意である子の ID を取得します。 展開可能なリストでは、リスト内のすべての子とグループの間で一意の ID を持つ各項目 (グループまたは子) が必要です。 このメソッドは、子の ID とそのグループの ID を指定した一意の ID を返します。 さらに、 が true の場合 #hasStableIds() は、返される ID も安定している必要があります。

の Java ドキュメント android.widget.ExpandableListAdapter.getCombinedChildId(long, long)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象