CursorTreeAdapter CursorTreeAdapter Class

Definition

An adapter that exposes data from a series of ICursors to an ExpandableListView widget.

[Android.Runtime.Register("android/widget/CursorTreeAdapter", ApiSince=1, DoNotGenerateAcw=true)]
public abstract class CursorTreeAdapter : Android.Widget.BaseExpandableListAdapter, Android.Widget.IFilterable, IDisposable
type CursorTreeAdapter = class
    inherit BaseExpandableListAdapter
    interface IFilterable
    interface IJavaObject
    interface IDisposable
Inheritance
Derived
Attributes
Implements

Remarks

Android platform documentation

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.

Constructors

CursorTreeAdapter(ICursor, Context) CursorTreeAdapter(ICursor, Context)

Constructor.

CursorTreeAdapter(ICursor, Context, Boolean) CursorTreeAdapter(ICursor, Context, Boolean)

Constructor.

CursorTreeAdapter(IntPtr, JniHandleOwnership) CursorTreeAdapter(IntPtr, JniHandleOwnership)

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

Properties

ChildTypeCount ChildTypeCount

This method will only be called when the adapter is set on the AdapterView.

(Inherited from BaseExpandableListAdapter)
Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Cursor Cursor
Filter Filter
FilterQueryProvider FilterQueryProvider
GroupCount GroupCount
GroupTypeCount GroupTypeCount

This method will only be called when the adapter is set on the AdapterView.

(Inherited from BaseExpandableListAdapter)
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
HasStableIds HasStableIds
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
IsEmpty IsEmpty Inherited from BaseExpandableListAdapter
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
PeerReference PeerReference Inherited from Object
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

AreAllItemsEnabled() AreAllItemsEnabled() Inherited from BaseExpandableListAdapter
BindChildView(View, Context, ICursor, Boolean) BindChildView(View, Context, ICursor, Boolean)

Bind an existing view to the child data pointed to by cursor

BindGroupView(View, Context, ICursor, Boolean) BindGroupView(View, Context, ICursor, Boolean)

Bind an existing view to the group data pointed to by cursor.

ChangeCursor(ICursor) ChangeCursor(ICursor)
Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
ConvertToString(ICursor) ConvertToString(ICursor)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetChild(Int32, Int32) GetChild(Int32, Int32)
GetChildId(Int32, Int32) GetChildId(Int32, Int32)
GetChildrenCount(Int32) GetChildrenCount(Int32)
GetChildrenCursor(ICursor) GetChildrenCursor(ICursor)

Gets the Cursor for the children at the given group.

GetChildType(Int32, Int32) GetChildType(Int32, Int32) Inherited from BaseExpandableListAdapter
GetChildView(Int32, Int32, Boolean, View, ViewGroup) GetChildView(Int32, Int32, Boolean, View, ViewGroup)
GetCombinedChildId(Int64, Int64) GetCombinedChildId(Int64, Int64)

Override this method if you foresee a clash in IDs based on this scheme:

(Inherited from BaseExpandableListAdapter)
GetCombinedGroupId(Int64) GetCombinedGroupId(Int64)

Override this method if you foresee a clash in IDs based on this scheme:

(Inherited from BaseExpandableListAdapter)
GetGroup(Int32) GetGroup(Int32)
GetGroupId(Int32) GetGroupId(Int32)
GetGroupType(Int32) GetGroupType(Int32)

M:Android.Widget.IExpandableListAdapter.GetGroupView(System.Int32,System.Boolean,System.Boolean,System.Boolean)

(Inherited from BaseExpandableListAdapter)
GetGroupView(Int32, Boolean, View, ViewGroup) GetGroupView(Int32, Boolean, View, ViewGroup)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
IsChildSelectable(Int32, Int32) IsChildSelectable(Int32, Int32)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
NewChildView(Context, ICursor, Boolean, ViewGroup) NewChildView(Context, ICursor, Boolean, ViewGroup)

Makes a new child view to hold the data pointed to by cursor.

NewGroupView(Context, ICursor, Boolean, ViewGroup) NewGroupView(Context, ICursor, Boolean, ViewGroup)

Makes a new group view to hold the group data pointed to by cursor.

Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyDataSetChanged() NotifyDataSetChanged() Inherited from BaseExpandableListAdapter
NotifyDataSetChanged(Boolean) NotifyDataSetChanged(Boolean)

Notifies a data set change, but with the option of not releasing any cached cursors.

NotifyDataSetInvalidated() NotifyDataSetInvalidated() Inherited from BaseExpandableListAdapter
OnGroupCollapsed(Int32) OnGroupCollapsed(Int32)

Called when a group is collapsed.

(Inherited from BaseExpandableListAdapter)
OnGroupExpanded(Int32) OnGroupExpanded(Int32)

Called when a group is expanded.

(Inherited from BaseExpandableListAdapter)
RegisterDataSetObserver(DataSetObserver) RegisterDataSetObserver(DataSetObserver) Inherited from BaseExpandableListAdapter
RunQueryOnBackgroundThread(ICharSequence) RunQueryOnBackgroundThread(ICharSequence)
RunQueryOnBackgroundThread(String) RunQueryOnBackgroundThread(String)
SetChildrenCursor(Int32, ICursor) SetChildrenCursor(Int32, ICursor)

Sets the children Cursor for a particular group.

SetGroupCursor(ICursor) SetGroupCursor(ICursor)

Sets the group Cursor.

SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterDataSetObserver(DataSetObserver) UnregisterDataSetObserver(DataSetObserver) Inherited from BaseExpandableListAdapter
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to