lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in version 22.1.0
belongs to Maven artifact com.android.support:cursoradapter:28.0.0-alpha1

SimpleCursorAdapter.CursorToStringConverter

public static interface SimpleCursorAdapter.CursorToStringConverter

android.support.v4.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 convertToString(Cursor cursor)

Returns a CharSequence representing the specified Cursor.

Public methods

convertToString

added in version 22.1.0
CharSequence convertToString (Cursor cursor)

Returns a CharSequence representing the specified Cursor.

Parameters
cursor Cursor: the cursor for which a CharSequence representation is requested

Returns
CharSequence a non-null CharSequence representing the cursor