CursorTreeAdapter.SetChildrenCursor(Int32, ICursor) Method
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.
Sets the children Cursor for a particular group.
[Android.Runtime.Register("setChildrenCursor", "(ILandroid/database/Cursor;)V", "GetSetChildrenCursor_ILandroid_database_Cursor_Handler")]
public virtual void SetChildrenCursor (int groupPosition, Android.Database.ICursor? childrenCursor);
[<Android.Runtime.Register("setChildrenCursor", "(ILandroid/database/Cursor;)V", "GetSetChildrenCursor_ILandroid_database_Cursor_Handler")>]
abstract member SetChildrenCursor : int * Android.Database.ICursor -> unit
override this.SetChildrenCursor : int * Android.Database.ICursor -> unit
Parameters
- groupPosition
- Int32
The group whose children are being set via this Cursor.
- childrenCursor
- ICursor
The Cursor that contains the children of the group.
- Attributes
Remarks
Sets the children Cursor for a particular group. If there is an existing cursor it will be closed.
This is useful when asynchronously querying to prevent blocking the UI.
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.