Register now for Android Dev Summit 2019!

CursorToStringConverter

interface CursorToStringConverter
androidx.cursoradapter.widget.SimpleCursorAdapter.CursorToStringConverter

This class can be used by external clients of SimpleCursorAdapter to define how the Cursor should be converted to a String.

Summary

Public methods

abstract CharSequence!

Returns a CharSequence representing the specified Cursor.

Public methods

convertToString

abstract fun convertToString(cursor: Cursor!): CharSequence!

Returns a CharSequence representing the specified Cursor.

Parameters
cursor Cursor!: the cursor for which a CharSequence representation is requested
Return
CharSequence!: a non-null CharSequence representing the cursor