Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

SQLiteCursorCompat

public final class SQLiteCursorCompat
extends Object

java.lang.Object
   ↳ androidx.core.database.sqlite.SQLiteCursorCompat


Helper for accessing features in AbstractWindowedCursor

Summary

Public methods

static void setFillWindowForwardOnly(SQLiteCursor cursor, boolean fillWindowForwardOnly)

Controls whether the cursor is filled starting at the position passed to AbstractCursor.moveToPosition(int).

Inherited methods

Public methods

setFillWindowForwardOnly

public static void setFillWindowForwardOnly (SQLiteCursor cursor, 
                boolean fillWindowForwardOnly)

Controls whether the cursor is filled starting at the position passed to AbstractCursor.moveToPosition(int).

By default, SQLiteCursor will optimize for accesses around the requested row index by loading data on either side of it. Pass true to this method to disable that behavior, useful to optimize multi-window, continuous reads.

Prior to Android P, this method will do nothing.

Parameters
cursor SQLiteCursor

fillWindowForwardOnly boolean