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