CursorTreeAdapter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
- 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.
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.