SimpleCursorTreeAdapter Constructors

Definition

Overloads

SimpleCursorTreeAdapter(IntPtr, JniHandleOwnership)

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

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

Constructor.

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

Constructor.

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

Constructor.

SimpleCursorTreeAdapter(IntPtr, JniHandleOwnership)

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

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

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

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

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;I[Ljava/lang/String;[II[Ljava/lang/String;[I)V", "")]
public SimpleCursorTreeAdapter (Android.Content.Context? context, Android.Database.ICursor? cursor, int groupLayout, string[]? groupFrom, int[]? groupTo, int childLayout, string[]? childFrom, int[]? childTo);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;I[Ljava/lang/String;[II[Ljava/lang/String;[I)V", "")>]
new Android.Widget.SimpleCursorTreeAdapter : Android.Content.Context * Android.Database.ICursor * int * string[] * int[] * int * string[] * int[] -> Android.Widget.SimpleCursorTreeAdapter

Parameters

context
Context

The context where the ExpandableListView associated with this SimpleCursorTreeAdapter is running

cursor
ICursor

The database cursor

groupLayout
Int32

The resource identifier of a layout file that defines the views for a group. The layout file should include at least those named views defined in groupTo.

groupFrom
String[]

A list of column names that will be used to display the data for a group.

groupTo
Int32[]

The group views (from the group layouts) that should display column in the "from" parameter. These should all be TextViews or ImageViews. The first N views in this list are given the values of the first N columns in the from parameter.

childLayout
Int32

The resource identifier of a layout file that defines the views for a child. The layout file should include at least those named views defined in childTo.

childFrom
String[]

A list of column names that will be used to display the data for a child.

childTo
Int32[]

The child views (from the child layouts) that should display column in the "from" parameter. These should all be TextViews or ImageViews. The first N views in this list are given the values of the first N columns in the from parameter.

Attributes

Remarks

Constructor.

Java documentation for android.widget.SimpleCursorTreeAdapter.SimpleCursorTreeAdapter(android.content.Context, android.database.Cursor, int, java.lang.String[], int[], int, java.lang.String[], 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

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

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;II[Ljava/lang/String;[II[Ljava/lang/String;[I)V", "")]
public SimpleCursorTreeAdapter (Android.Content.Context? context, Android.Database.ICursor? cursor, int collapsedGroupLayout, int expandedGroupLayout, string[]? groupFrom, int[]? groupTo, int childLayout, string[]? childFrom, int[]? childTo);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;II[Ljava/lang/String;[II[Ljava/lang/String;[I)V", "")>]
new Android.Widget.SimpleCursorTreeAdapter : Android.Content.Context * Android.Database.ICursor * int * int * string[] * int[] * int * string[] * int[] -> Android.Widget.SimpleCursorTreeAdapter

Parameters

context
Context

The context where the ExpandableListView associated with this SimpleCursorTreeAdapter is running

cursor
ICursor

The database cursor

collapsedGroupLayout
Int32

The resource identifier of a layout file that defines the views for a collapsed group. The layout file should include at least those named views defined in groupTo.

expandedGroupLayout
Int32

The resource identifier of a layout file that defines the views for an expanded group. The layout file should include at least those named views defined in groupTo.

groupFrom
String[]

A list of column names that will be used to display the data for a group.

groupTo
Int32[]

The group views (from the group layouts) that should display column in the "from" parameter. These should all be TextViews or ImageViews. The first N views in this list are given the values of the first N columns in the from parameter.

childLayout
Int32

The resource identifier of a layout file that defines the views for a child. The layout file should include at least those named views defined in childTo.

childFrom
String[]

A list of column names that will be used to display the data for a child.

childTo
Int32[]

The child views (from the child layouts) that should display column in the "from" parameter. These should all be TextViews or ImageViews. The first N views in this list are given the values of the first N columns in the from parameter.

Attributes

Remarks

Constructor.

Java documentation for android.widget.SimpleCursorTreeAdapter.SimpleCursorTreeAdapter(android.content.Context, android.database.Cursor, int, int, java.lang.String[], int[], int, java.lang.String[], 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

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

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;II[Ljava/lang/String;[III[Ljava/lang/String;[I)V", "")]
public SimpleCursorTreeAdapter (Android.Content.Context? context, Android.Database.ICursor? cursor, int collapsedGroupLayout, int expandedGroupLayout, string[]? groupFrom, int[]? groupTo, int childLayout, int lastChildLayout, string[]? childFrom, int[]? childTo);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/database/Cursor;II[Ljava/lang/String;[III[Ljava/lang/String;[I)V", "")>]
new Android.Widget.SimpleCursorTreeAdapter : Android.Content.Context * Android.Database.ICursor * int * int * string[] * int[] * int * int * string[] * int[] -> Android.Widget.SimpleCursorTreeAdapter

Parameters

context
Context

The context where the ExpandableListView associated with this SimpleCursorTreeAdapter is running

cursor
ICursor

The database cursor

collapsedGroupLayout
Int32

The resource identifier of a layout file that defines the views for a collapsed group. The layout file should include at least those named views defined in groupTo.

expandedGroupLayout
Int32

The resource identifier of a layout file that defines the views for an expanded group. The layout file should include at least those named views defined in groupTo.

groupFrom
String[]

A list of column names that will be used to display the data for a group.

groupTo
Int32[]

The group views (from the group layouts) that should display column in the "from" parameter. These should all be TextViews or ImageViews. The first N views in this list are given the values of the first N columns in the from parameter.

childLayout
Int32

The resource identifier of a layout file that defines the views for a child (except the last). The layout file should include at least those named views defined in childTo.

lastChildLayout
Int32

The resource identifier of a layout file that defines the views for the last child within a group. The layout file should include at least those named views defined in childTo.

childFrom
String[]

A list of column names that will be used to display the data for a child.

childTo
Int32[]

The child views (from the child layouts) that should display column in the "from" parameter. These should all be TextViews or ImageViews. The first N views in this list are given the values of the first N columns in the from parameter.

Attributes

Remarks

Constructor.

Java documentation for android.widget.SimpleCursorTreeAdapter.SimpleCursorTreeAdapter(android.content.Context, android.database.Cursor, int, int, java.lang.String[], int[], int, int, java.lang.String[], 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