Android Guides | Samples

Android.Widget.BaseExpandableListAdapter Class

Base class for a IExpandableListAdapter used to provide data and Views from some data to an expandable list view.

See Also: BaseExpandableListAdapter

Syntax

[Android.Runtime.Register("android/widget/BaseExpandableListAdapter", DoNotGenerateAcw=true)]
public abstract class BaseExpandableListAdapter : Object, IExpandableListAdapter, IHeterogeneousExpandableList, IDisposable

Remarks

Base class for a IExpandableListAdapter used to provide data and Views from some data to an expandable list view.

Adapters inheriting this class should verify that the base implementations of BaseExpandableListAdapter.GetCombinedChildId(Int64,Int64) and BaseExpandableListAdapter.GetCombinedGroupId(Int64) are correct in generating unique IDs from the group/children IDs.

See Also

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Widget.BaseExpandableListAdapter are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
ChildTypeCountInt32. This method will only be called when the adapter is set on the AdapterView.
[read-only]
abstract
GroupCountInt32.
[read-only]
GroupTypeCountInt32. This method will only be called when the adapter is set on the AdapterView.
[read-only]
abstract
HasStableIdsBoolean.
[read-only]
IsEmptyBoolean.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AreAllItemsEnabled() : Boolean
abstract
GetChild(Int32, Int32) : Object
abstract
GetChildId(Int32, Int32) : Int64
abstract
GetChildrenCount(Int32) : Int32
GetChildType(Int32, Int32) : Int32
Get the type of child View that will be created by IExpandableListAdapter.GetChildView(Int32,Int32,Int32,Int32,Int32) for the specified child item.
abstract
GetChildView(Int32, Int32, Boolean, View, ViewGroup) : View
GetCombinedChildId(Int64, Int64) : Int64
Override this method if you foresee a clash in IDs based on this scheme:
GetCombinedGroupId(Int64) : Int64
Override this method if you foresee a clash in IDs based on this scheme:
abstract
GetGroup(Int32) : Object
abstract
GetGroupId(Int32) : Int64
GetGroupType(Int32) : Int32
Get the type of group View that will be created by IExpandableListAdapter.GetGroupView(Int32,Boolean,Boolean,Boolean) . for the specified group item.
abstract
GetGroupView(Int32, Boolean, View, ViewGroup) : View
abstract
IsChildSelectable(Int32, Int32) : Boolean
NotifyDataSetChanged()
NotifyDataSetInvalidated()
OnGroupCollapsed(Int32)
Called when a group is collapsed.
OnGroupExpanded(Int32)
Called when a group is expanded.
RegisterDataSetObserver(DataSetObserver)
UnregisterDataSetObserver(DataSetObserver)