AndroidPdfViewer
AndroidPdfViewer copied to clipboard
bug fix(issue #834): PdfView#loadComplete(), line 756, renderingHandlerThread NullPointerException
trafficstars
Bug arises when user opens activity and closes immediately many times in a row. I guess when user closes activity, it calls method onDetachedFromWindow() where renderingHandlerThread variable is equaled to null. So it is needed to check in loadComplete() method if renderingHandlerThread is null.