Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

SQLiteDatabase.CursorFactory

public static interface SQLiteDatabase.CursorFactory

android.database.sqlite.SQLiteDatabase.CursorFactory


Used to allow returning sub-classes of Cursor when calling query.

Summary

Public methods

abstract Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, String editTable, SQLiteQuery query)

See SQLiteCursor.SQLiteCursor(SQLiteCursorDriver, String, SQLiteQuery).

Public methods

newCursor

added in API level 1
public abstract Cursor newCursor (SQLiteDatabase db, 
                SQLiteCursorDriver masterQuery, 
                String editTable, 
                SQLiteQuery query)

See SQLiteCursor.SQLiteCursor(SQLiteCursorDriver, String, SQLiteQuery).

Parameters
db SQLiteDatabase

masterQuery SQLiteCursorDriver

editTable String

query SQLiteQuery

Returns
Cursor