android pdfview 模糊,GitHub - ZhangSir/android-pdfview: A fast PDF reader component for Android develo...

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f416e64726f6964253230417273656e616c2d616e64726f69642d2d706466766965772d627269676874677265656e2e7376673f7374796c653d666c6174

5031c86f7be4420d0e6eb02a290b2adb.png

Android PDFView is a library which provides a fast PDFView component for Android, with animations, gestures, and zoom. It's based on VuDroid for decoding the PDF file.

Get it

Android PDFView is available in Maven Central.

com.joanzapata.pdfview

android-pdfview

1.0.4

apklib

Or via gradle:

compile 'com.joanzapata.pdfview:android-pdfview:1.0.4@aar'

Include PDFView in your layout

android:id="@+id/pdfview"

android:layout_width="match_parent"

android:layout_height="match_parent"/>

Load a PDF file

pdfView.fromAsset(pdfName)

.pages(0, 2, 1, 3, 3, 3)

.defaultPage(1)

.showMinimap(false)

.enableSwipe(true)

.onDraw(onDrawListener)

.onLoad(onLoadCompleteListener)

.onPageChange(onPageChangeListener)

.load();

pages is optional, it allows you to filter and order the pages of the PDF as you need

onDraw is also optional, and allows you to draw something on a provided canvas, above the current page

License

Copyright 2013-2015 Joan Zapata

This file is part of Android-pdfview.

Android-pdfview is free software: you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation, either version 3 of the License, or

(at your option) any later version.

Android-pdfview is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with Android-pdfview. If not, see .

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值