Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

CursorWindowCompat

class CursorWindowCompat
kotlin.Any
   ↳ androidx.core.database.CursorWindowCompat

Helper for accessing features in android.database.CursorWindow

Summary

Public methods
static CursorWindow
create(@Nullable name: String?, windowSizeBytes: Long)

Creates a CursorWindow of the specified size.

Public methods

create

@NonNull static fun create(@Nullable name: String?, windowSizeBytes: Long): CursorWindow

Creates a CursorWindow of the specified size.

Prior to Android P, this method will return a CursorWindow of size defined by the platform.