Share via


BaseExpandableListAdapter 类

定义

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

[Android.Runtime.Register("android/widget/BaseExpandableListAdapter", DoNotGenerateAcw=true)]
public abstract class BaseExpandableListAdapter : Java.Lang.Object, Android.Widget.IExpandableListAdapter, Android.Widget.IHeterogeneousExpandableList, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/widget/BaseExpandableListAdapter", DoNotGenerateAcw=true)>]
type BaseExpandableListAdapter = class
    inherit Object
    interface IExpandableListAdapter
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface IHeterogeneousExpandableList
继承
BaseExpandableListAdapter
派生
属性
实现

注解

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

继承此类的适配器应验证 和 #getCombinedGroupId(long) 的基本实现#getCombinedChildId(long, long)在从组/子 ID 生成唯一 ID 时是否正确。

android.widget.BaseExpandableListAdapterJava 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

构造函数

BaseExpandableListAdapter()
BaseExpandableListAdapter(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

属性

ChildTypeCount

要添加

Class

返回此 Object的运行时类。

(继承自 Object)
GroupCount

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

GroupTypeCount

要添加

Handle

基础 Android 实例的句柄。

(继承自 Object)
HasStableIds

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

IsEmpty

要添加

JniIdentityHashCode

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
JniPeerMembers

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

PeerReference

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
ThresholdClass

此 API 支持 Mono for Android 基础结构,不应直接从代码使用。

ThresholdType

此 API 支持 Mono for Android 基础结构,不应直接从代码使用。

方法

AreAllItemsEnabled()
Clone()

创建并返回此对象的副本。

(继承自 Object)
Dispose()

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
Dispose(Boolean)

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
Equals(Object)

指示其他某个对象是否“等于”此对象。

(继承自 Object)
GetChild(Int32, Int32)

获取与给定组中给定子级关联的数据。

GetChildId(Int32, Int32)

获取给定组中给定子级的 ID。

GetChildrenCount(Int32)

获取指定组中的子级数。

GetChildType(Int32, Int32)

要添加

GetChildView(Int32, Int32, Boolean, View, ViewGroup)

获取一个视图,该视图显示给定组中给定子级的数据。

GetCombinedChildId(Int64, Int64)

如果根据此方案预见到 ID 中发生冲突,请重写此方法:

GetCombinedGroupId(Int64)

如果根据此方案预见到 ID 中发生冲突,请重写此方法:

GetGroup(Int32)

获取与给定组关联的数据。

GetGroupId(Int32)

获取位于给定位置的组的 ID。

GetGroupType(Int32)

要添加

GetGroupView(Int32, Boolean, View, ViewGroup)

获取显示给定组的视图。

GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
IsChildSelectable(Int32, Int32)

指定位置的子级是否可选。

JavaFinalize()

当垃圾回收确定不再引用对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
NotifyDataSetChanged()
NotifyDataSetInvalidated()
OnGroupCollapsed(Int32)

在折叠组时调用。

OnGroupExpanded(Int32)

展开组时调用。

RegisterDataSetObserver(DataSetObserver)
SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
ToArray<T>()

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterDataSetObserver(DataSetObserver)
UnregisterFromRuntime()

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
Wait()

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>。<>

(继承自 Object)
Wait(Int64)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)
Wait(Int64, Int32)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
IJavaPeerable.Finalized()

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
IJavaPeerable.JniManagedPeerState

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

GetJniTypeName(IJavaPeerable)

用于 ExpandableListAdapter 向可展开列表视图提供某些数据的数据和视图的 基类。

适用于