Package-level declarations

Properties

Link copied to clipboard
Link copied to clipboard
const val PORTRAIT_COLUMN_COUNT: Int = 3

Functions

Link copied to clipboard
fun BoxScope.DocumentContainer(modifier: Modifier, document: DocumentController, sdkTheme: ERROR CLASS: Symbol not found for SdkTheme = SdkTheme.default(), gridLayout: @Composable () -> Unit? = null)

The main document view. Works as a parent container to hold all PDF composable functions.

Link copied to clipboard
fun ThumbnailGrid(documentData: DocumentData, onClick: suspend (Int) -> Unit, getBitmap: @Composable (Int, IntSize) -> Bitmap?)

Composable that displays a grid layout of the document pages. Customise n columns with LANDSCAPE_COLUMN_COUNT and PORTRAIT_COLUMN_COUNT.