共用方式為


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);
[<Android.Runtime.Register(".ctor", "(Landroid/database/Cursor;Landroid/content/Context;)V", "")>]
new Android.Widget.CursorTreeAdapter : Android.Database.ICursor * Android.Content.Context -> Android.Widget.CursorTreeAdapter

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

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);
new Android.Widget.CursorTreeAdapter : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.CursorTreeAdapter

Parameters

javaReference
IntPtr

nativeint

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

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);
[<Android.Runtime.Register(".ctor", "(Landroid/database/Cursor;Landroid/content/Context;Z)V", "")>]
new Android.Widget.CursorTreeAdapter : Android.Database.ICursor * Android.Content.Context * bool -> Android.Widget.CursorTreeAdapter

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