Share via


CursorTreeAdapter Constructors

Definition

Overloads

CursorTreeAdapter(ICursor, Context)

Constructor.

CursorTreeAdapter(IntPtr, JniHandleOwnership)

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

CursorTreeAdapter(ICursor, Context, Boolean)

Constructor.

CursorTreeAdapter(ICursor, Context)

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/database/Cursor;Landroid/content/Context;)V", "")]
public CursorTreeAdapter (Android.Database.ICursor? cursor, Android.Content.Context? context);

Parameters

cursor
ICursor

The cursor from which to get the data for the groups.

context
Context
Attributes

Remarks

Constructor. The adapter will call Cursor#requery() on the cursor whenever it changes so that the most recent data is always displayed.

Java documentation for android.widget.CursorTreeAdapter.CursorTreeAdapter(android.database.Cursor, android.content.Context).

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.

Applies to

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

CursorTreeAdapter(IntPtr, JniHandleOwnership)

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

protected CursorTreeAdapter (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);

Parameters

javaReference
IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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.

Applies to

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

CursorTreeAdapter(ICursor, Context, Boolean)

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/database/Cursor;Landroid/content/Context;Z)V", "")]
public CursorTreeAdapter (Android.Database.ICursor? cursor, Android.Content.Context? context, bool autoRequery);

Parameters

cursor
ICursor

The cursor from which to get the data for the groups.

context
Context

The context

autoRequery
Boolean

If true the adapter will call Cursor#requery() on the cursor whenever it changes so the most recent data is always displayed.

Attributes

Remarks

Constructor.

Java documentation for android.widget.CursorTreeAdapter.CursorTreeAdapter(android.database.Cursor, android.content.Context, boolean).

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.

Applies to

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35