setFillWindowForwardOnly

open fun setFillWindowForwardOnly(@NonNull cursor: SQLiteCursor, fillWindowForwardOnly: Boolean)(source)

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.