IHeterogeneousExpandableList.GetGroupType(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the type of group View that will be created by
android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)
.
[Android.Runtime.Register("getGroupType", "(I)I", "GetGetGroupType_IHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetGroupType (int groupPosition);
[<Android.Runtime.Register("getGroupType", "(I)I", "GetGetGroupType_IHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetGroupType : int -> int
Parameters
- groupPosition
- Int32
the position of the group for which the type should be returned.
Returns
An integer representing the type of group View. Two group views should share the same
type if one can be converted to the other in
android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)
. Note: Integers must be in the range 0 to #getGroupTypeCount
- 1.
android.widget.Adapter#IGNORE_ITEM_VIEW_TYPE
can also be returned.
- Attributes
Remarks
Get the type of group View that will be created by android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)
. for the specified group item.
Java documentation for android.widget.HeterogeneousExpandableList.getGroupType(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.