Closed madmas closed 4 years ago
@TalbotGooday Thank a lot for the suggestion, I treid to patch it as well but inserted
if(renderingHandlerThread == null){
renderingHandlerThread = new HandlerThread("PDF renderer");
}
instead of a return to re-initialize it as it is initialized in the constructor. I was able to verify it in the context the error occured for me and it worked fine - do you want a PR for it or do you have thoughts about it?
@madmas Please, create a PR. I can't fix this now 'cause I want to refactor the library on which based this one. I need some time to figure out how to build native code)
@TalbotGooday here it is ;-) I would be great if you can forge a release after it is merged 😇
@madmas Thank you) I'll try to make a release ASAP)
Merged, fixed, released. Version 3.1.0-beta.3 is waiting for you
@TalbotGooday it looks to me like something went wrong with the release :( I cannot get it from https://jitpack.io/com/github/TalbotGooday/AndroidPdfViewer/3.1.0-beta.3/ - does it work for you?
@madmas Yeah. There was some kind of a bug with the jitpack. Try again now
@TalbotGooday thanks a lot, works now.
After loading an PDF, I get this exception:
From my point of view this state should not be possible as the referenced object is initialized in the constructor - but, it is.