Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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.