CursorAdapter.ConvertToStringFormatted(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.
Converts the cursor into a CharSequence.
[Android.Runtime.Register("convertToString", "(Landroid/database/Cursor;)Ljava/lang/CharSequence;", "GetConvertToString_Landroid_database_Cursor_Handler")]
public virtual Java.Lang.ICharSequence? ConvertToStringFormatted (Android.Database.ICursor? cursor);
[<Android.Runtime.Register("convertToString", "(Landroid/database/Cursor;)Ljava/lang/CharSequence;", "GetConvertToString_Landroid_database_Cursor_Handler")>]
abstract member ConvertToStringFormatted : Android.Database.ICursor -> Java.Lang.ICharSequence
override this.ConvertToStringFormatted : Android.Database.ICursor -> Java.Lang.ICharSequence
Parameters
- cursor
- ICursor
the cursor to convert to a CharSequence
Returns
a CharSequence representing the value
- Attributes
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.