PdfiumAndroid icon indicating copy to clipboard operation
PdfiumAndroid copied to clipboard

how stop

Open BinarySatan opened this issue 7 years ago • 5 comments

how to stop pdfiumCore.renderPageBitmap.

BinarySatan avatar Jan 09 '18 12:01 BinarySatan

Why you would like to stop main rendering process? You can call pdfView.recycle() to unload document, but you cannot stop rendering method

barteksc avatar Jan 09 '18 12:01 barteksc

I want to do the mini page to display thumbnails , when i slide needs renderbitmap . like
`ThumbnailViewGroup extends ViewGroup{

onTouchEvent(MotionEvent event){ case DOWN: case MOVE: pdfiumCore.renderPageBitmap.... break; return true; } }`

BinarySatan avatar Jan 09 '18 12:01 BinarySatan

You can modify library, but it is not possible out of the box.

barteksc avatar Jan 09 '18 15:01 barteksc

ok, why is the rendering time a little long ? It takes me 10 seconds to render 16 images (mini page).

BinarySatan avatar Jan 10 '18 01:01 BinarySatan

Whether openPage and renderPageBitmap can be used in different locks?

BinarySatan avatar Jan 10 '18 03:01 BinarySatan