Condividi tramite


ResourceCursorTreeAdapter Constructors

Definition

Overloads

ResourceCursorTreeAdapter(IntPtr, JniHandleOwnership)

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

ResourceCursorTreeAdapter(Context, ICursor, Int32, Int32)

Constructor.

ResourceCursorTreeAdapter(Context, ICursor, Int32, Int32, Int32)

Constructor.

ResourceCursorTreeAdapter(Context, ICursor, Int32, Int32, Int32, Int32)

Constructor.

ResourceCursorTreeAdapter(IntPtr, JniHandleOwnership)

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

protected ResourceCursorTreeAdapter (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.ResourceCursorTreeAdapter : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.ResourceCursorTreeAdapter

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

ResourceCursorTreeAdapter(Context, ICursor, Int32, Int32)

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;II)V", "")]
public ResourceCursorTreeAdapter (Android.Content.Context? context, Android.Database.ICursor? cursor, int groupLayout, int childLayout);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;II)V", "")>]
new Android.Widget.ResourceCursorTreeAdapter : Android.Content.Context * Android.Database.ICursor * int * int -> Android.Widget.ResourceCursorTreeAdapter

Parameters

context
Context

The context where the ListView associated with this SimpleListItemFactory is running

cursor
ICursor

The database cursor

groupLayout
Int32

resource identifier of a layout file that defines the views for all groups.

childLayout
Int32

resource identifier of a layout file that defines the views for all children.

Attributes

Remarks

Constructor.

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

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

ResourceCursorTreeAdapter(Context, ICursor, Int32, Int32, Int32)

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;III)V", "")]
public ResourceCursorTreeAdapter (Android.Content.Context? context, Android.Database.ICursor? cursor, int collapsedGroupLayout, int expandedGroupLayout, int childLayout);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;III)V", "")>]
new Android.Widget.ResourceCursorTreeAdapter : Android.Content.Context * Android.Database.ICursor * int * int * int -> Android.Widget.ResourceCursorTreeAdapter

Parameters

context
Context

The context where the ListView associated with this SimpleListItemFactory is running

cursor
ICursor

The database cursor

collapsedGroupLayout
Int32

resource identifier of a layout file that defines the views for collapsed groups.

expandedGroupLayout
Int32

resource identifier of a layout file that defines the views for expanded groups.

childLayout
Int32

resource identifier of a layout file that defines the views for all children.

Attributes

Remarks

Constructor.

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

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

ResourceCursorTreeAdapter(Context, ICursor, Int32, Int32, Int32, Int32)

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;IIII)V", "")]
public ResourceCursorTreeAdapter (Android.Content.Context? context, Android.Database.ICursor? cursor, int collapsedGroupLayout, int expandedGroupLayout, int childLayout, int lastChildLayout);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;IIII)V", "")>]
new Android.Widget.ResourceCursorTreeAdapter : Android.Content.Context * Android.Database.ICursor * int * int * int * int -> Android.Widget.ResourceCursorTreeAdapter

Parameters

context
Context

The context where the ListView associated with this SimpleListItemFactory is running

cursor
ICursor

The database cursor

collapsedGroupLayout
Int32

resource identifier of a layout file that defines the views for collapsed groups.

expandedGroupLayout
Int32

resource identifier of a layout file that defines the views for expanded groups.

childLayout
Int32

resource identifier of a layout file that defines the views for all children but the last..

lastChildLayout
Int32

resource identifier of a layout file that defines the views for the last child of a group.

Attributes

Remarks

Constructor.

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

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