SQLiteCursorCompat
class SQLiteCursorCompat
Helper for accessing features in AbstractWindowedCursor
Summary
Public functions |
|
---|---|
java-static Unit |
setFillWindowForwardOnly( Controls whether the cursor is filled starting at the position passed to |
Public functions
setFillWindowForwardOnly
Added in 1.1.0
java-static fun setFillWindowForwardOnly(
cursor: SQLiteCursor,
fillWindowForwardOnly: Boolean
): Unit
Controls whether the cursor is filled starting at the position passed to moveToPosition
.
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.