getDrawablesForPage

open fun getDrawablesForPage(@NonNull context: Context, @NonNull document: PdfDocument, @IntRange(from = 0) pageIndex: Int): List<PdfDrawable>

Returns all drawables for the given document and pageIndex. The framework may call this method on any thread.

Return

A list of all drawables for the given document and page.

Parameters

context

Context for resource resolution.

document

The currently loaded PdfDocument.

pageIndex

Number of the page for which the drawables should be returned.