Projetos
Ver no GitHub
fuusy/PdfWebview
Sobre
A lib for loading PDF in Android using WebView
Produtividade e automaçãoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalA 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
Explore projetos relacionados
Carregando…