Most visited

Recently visited

Added in API level 1

SQLiteDatabase.CursorFactory

public static interface SQLiteDatabase.CursorFactory

android.database.sqlite.SQLiteDatabase.CursorFactory


用于在调用查询时允许返回 Cursor子类。

Summary

Public methods

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

SQLiteCursor(SQLiteCursorDriver, String, SQLiteQuery)

Public methods

newCursor

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

SQLiteCursor(SQLiteCursorDriver, String, SQLiteQuery)

Parameters
db SQLiteDatabase
masterQuery SQLiteCursorDriver
editTable String
query SQLiteQuery
Returns
Cursor

Hooray!