![](/img/trans.png)
[英]com.github.barteksc:android-pdf-viewer:3.1.0-beta.1 error in androidx
[英]How to check if no PDF is displayed in an implementation of 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1' Java library
這是我的建議
我不知道庫是否有你想要的方法,但是當你打開 pdfFile 時,你可以檢查它或在 onError 中做其他事情,它看起來像這樣:
pdfView.fromUri(fileUri)...
.onError{
//you can finish or send a message here
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.