Partager via


CursorAdapter.ConvertToString(ICursor) Method

Definition

Converts the cursor into a CharSequence.

public string? ConvertToString (Android.Database.ICursor? cursor);
member this.ConvertToString : Android.Database.ICursor -> string

Parameters

cursor
ICursor

the cursor to convert to a CharSequence

Returns

a CharSequence representing the value

Remarks

Converts the cursor into a CharSequence. Subclasses should override this method to convert their results. The default implementation returns an empty String for null values or the default String representation of the value.

Java documentation for android.widget.CursorAdapter.convertToString(android.database.Cursor).

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