المشاريع
عرض على GitHub
fuusy/PdfWebview
حول
A lib for loading PDF in Android using WebView
الإنتاجية والأتمتةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلA lib for loading PDF in Android using WebView
Usage
Including in your project
Copy... /pdf/src/main/assets/... all files in the path and paste it into the assert directory of your project.
Check out the article for details https://juejin.cn/post/7017840637450043422
Use
val settings: WebSettings? = webView?.settings
settings?.javaScriptEnabled = true
settings?.allowFileAccess = true
settings?.builtInZoomControls = true
settings?.setSupportZoom(true)
settings?.displayZoomControls = false
webView?.loadUrl("file:///android_asset/index.html?${pdfPath}");
Thanks
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…