Partager via


BaseExpandableListAdapter.GetCombinedGroupId(Int64) Méthode

Définition

Remplacez cette méthode si vous prévoyez un conflit dans les ID en fonction de ce schéma :

[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

Paramètres

groupId
Int64

ID du groupe

Retours

Implémente

Attributs

Remarques

Remplacez cette méthode si vous prévoyez un conflit dans les ID en fonction de ce schéma :

L’implémentation de base retourne un long : <li> bit 0 : que cet ID pointe vers un enfant (unset) ou un groupe (set), de sorte que pour cette méthode, ce bit sera 0. <li> bit 1-31 : 31 bits inférieurs du groupId <li> 32-63 : 32 bits inférieurs du childId.

À ajouter

Documentation Java pour android.widget.BaseExpandableListAdapter.getCombinedGroupId(long).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à