Java Code Examples for android.database.Cursor.toString()

The following are Jave code examples for showing how to use toString() of the android.database.Cursor class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: letv   File: CursorAdapter.java   Source Code and License Vote up 4 votes
public CharSequence convertToString(Cursor cursor) {
    return cursor == null ? "" : cursor.toString();
}
 
Example 2
Project: letv   File: CursorAdapter.java   Source Code and License Vote up 4 votes
public CharSequence convertToString(Cursor cursor) {
    return cursor == null ? "" : cursor.toString();
}
 
Example 3
Project: boohee_v5.6   File: CursorAdapter.java   Source Code and License Vote up 4 votes
public CharSequence convertToString(Cursor cursor) {
    return cursor == null ? "" : cursor.toString();
}
 
Example 4
Project: SuperSelector   File: RecyclerViewCursorAdapter.java   Source Code and License Vote up 2 votes
/**
 * <p>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.</p>
 *
 * @param cursor the cursor to convert to a CharSequence
 * @return a CharSequence representing the value
 */
public CharSequence convertToString(Cursor cursor) {
    return cursor == null ? "" : cursor.toString();
}
 
Example 5
Project: PictureShow   File: BaseCursorPagerAdapter.java   Source Code and License Vote up 2 votes
/**
 * 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.
 *
 * @param cursor the cursor to convert to a CharSequence
 * @return a CharSequence representing the value
 */
public CharSequence convertToString(Cursor cursor) {
    return cursor == null ? "" : cursor.toString();
}
 
Example 6
Project: News24x7-news-from-every-part-of-the-world   File: CursorRecyclerViewAdapter.java   Source Code and License Vote up 2 votes
/**
 * <p>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.</p>
 *
 * @param cursor the cursor to convert to a CharSequence
 * @return a CharSequence representing the value
 */
public CharSequence convertToString(Cursor cursor) {
    return cursor == null ? "" : cursor.toString();
}
 
Example 7
Project: Ocr-android   File: BaseRecyclerCursorAdapter.java   Source Code and License Vote up 2 votes
/**
 * <p>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.</p>
 *
 * @param cursor the cursor to convert to a CharSequence
 * @return a CharSequence representing the value
 */
@Override
public CharSequence convertToString(Cursor cursor) {
    return cursor == null ? "" : cursor.toString();
}