SimpleCursorTreeAdapter SimpleCursorTreeAdapter Class

Definition

An easy adapter to map columns from a cursor to TextViews or ImageViews defined in an XML file.

[Android.Runtime.Register("android/widget/SimpleCursorTreeAdapter", ApiSince=1, DoNotGenerateAcw=true)]
public abstract class SimpleCursorTreeAdapter : Android.Widget.ResourceCursorTreeAdapter
type SimpleCursorTreeAdapter = class
    inherit ResourceCursorTreeAdapter
Inheritance
Attributes

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

SimpleCursorTreeAdapter(Context, ICursor, Int32, Int32, String[], Int32[], Int32, Int32, String[], Int32[]) SimpleCursorTreeAdapter(Context, ICursor, Int32, Int32, String[], Int32[], Int32, Int32, String[], Int32[])

Constructor.

SimpleCursorTreeAdapter(Context, ICursor, Int32, Int32, String[], Int32[], Int32, String[], Int32[]) SimpleCursorTreeAdapter(Context, ICursor, Int32, Int32, String[], Int32[], Int32, String[], Int32[])

Constructor.

SimpleCursorTreeAdapter(Context, ICursor, Int32, String[], Int32[], Int32, String[], Int32[]) SimpleCursorTreeAdapter(Context, ICursor, Int32, String[], Int32[], Int32, String[], Int32[])

Constructor.

SimpleCursorTreeAdapter(IntPtr, JniHandleOwnership) SimpleCursorTreeAdapter(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 Inherited from CursorTreeAdapter
Filter Filter Inherited from CursorTreeAdapter
FilterQueryProvider FilterQueryProvider Inherited from CursorTreeAdapter
GroupCount GroupCount Inherited from CursorTreeAdapter
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 Inherited from CursorTreeAdapter
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.

ViewBinder ViewBinder

Returns the SimpleCursorTreeAdapter.IViewBinder used to bind data to views.

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) Inherited from CursorTreeAdapter
Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
ConvertToString(ICursor) ConvertToString(ICursor) Inherited from CursorTreeAdapter
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) Inherited from CursorTreeAdapter
GetChildId(Int32, Int32) GetChildId(Int32, Int32) Inherited from CursorTreeAdapter
GetChildrenCount(Int32) GetChildrenCount(Int32) Inherited from CursorTreeAdapter
GetChildrenCursor(ICursor) GetChildrenCursor(ICursor)

Gets the Cursor for the children at the given group.

(Inherited from CursorTreeAdapter)
GetChildType(Int32, Int32) GetChildType(Int32, Int32) Inherited from BaseExpandableListAdapter
GetChildView(Int32, Int32, Boolean, View, ViewGroup) GetChildView(Int32, Int32, Boolean, View, ViewGroup) Inherited from CursorTreeAdapter
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) Inherited from CursorTreeAdapter
GetGroupId(Int32) GetGroupId(Int32) Inherited from CursorTreeAdapter
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) Inherited from CursorTreeAdapter
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
IsChildSelectable(Int32, Int32) IsChildSelectable(Int32, Int32) Inherited from CursorTreeAdapter
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.

(Inherited from ResourceCursorTreeAdapter)
NewGroupView(Context, ICursor, Boolean, ViewGroup) NewGroupView(Context, ICursor, Boolean, ViewGroup)

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

(Inherited from ResourceCursorTreeAdapter)
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.

(Inherited from CursorTreeAdapter)
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) Inherited from CursorTreeAdapter
RunQueryOnBackgroundThread(String) RunQueryOnBackgroundThread(String) Inherited from CursorTreeAdapter
SetChildrenCursor(Int32, ICursor) SetChildrenCursor(Int32, ICursor)

Sets the children Cursor for a particular group.

(Inherited from CursorTreeAdapter)
SetGroupCursor(ICursor) SetGroupCursor(ICursor)

Sets the group Cursor.

(Inherited from CursorTreeAdapter)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetViewImage(ImageView, String) SetViewImage(ImageView, String)

Called by bindView() to set the image for an ImageView.

SetViewText(TextView, String) SetViewText(TextView, String)

Called by bindView() to set the text for a TextView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to a TextView.

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