Android Guides | Samples

Android.Widget.IExpandableListAdapter

An adapter that links a ExpandableListView with the underlying data.

See Also: IExpandableListAdapter

Syntax

[Android.Runtime.Register("android/widget/ExpandableListAdapter", "", "Android.Widget.IExpandableListAdapterInvoker")]
public interface IExpandableListAdapter : IJavaObject, IDisposable

Remarks

An adapter that links a ExpandableListView with the underlying data. The implementation of this interface will provide access to the data of the children (categorized by groups), and also instantiate Views for children and groups.

[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.IExpandableListAdapter are listed below.

Public Properties

[read-only]
GroupCountInt32. Gets the number of groups.
[read-only]
HasStableIdsBoolean. Indicates whether the child and group IDs are stable across changes to the underlying data.
[read-only]
IsEmptyBoolean.

Public Methods

AreAllItemsEnabled() : Boolean
GetChild(Int32, Int32) : Object
Gets the data associated with the given child within the given group.
GetChildId(Int32, Int32) : Int64
Gets the ID for the given child within the given group.
GetChildrenCount(Int32) : Int32
Gets the number of children in a specified group.
GetChildView(Int32, Int32, Boolean, View, ViewGroup) : View
Gets a View that displays the data for the given child within the given group.
GetCombinedChildId(Int64, Int64) : Int64
Gets an ID for a child that is unique across any item (either group or child) that is in this list.
GetCombinedGroupId(Int64) : Int64
Gets an ID for a group that is unique across any item (either group or child) that is in this list.
GetGroup(Int32) : Object
Gets the data associated with the given group.
GetGroupId(Int32) : Int64
Gets the ID for the group at the given position.
GetGroupView(Int32, Boolean, View, ViewGroup) : View
Gets a View that displays the given group.
IsChildSelectable(Int32, Int32) : Boolean
Whether the child at the specified position is selectable.
OnGroupCollapsed(Int32)
Called when a group is collapsed.
OnGroupExpanded(Int32)
Called when a group is expanded.
RegisterDataSetObserver(DataSetObserver)
UnregisterDataSetObserver(DataSetObserver)