基于android-pdf-viewer增加翻书效果查看pdf

上传者: abcd3456abcd | 上传时间: 2022-07-28 15:04:00 | 文件大小: 2.27MB | 文件类型: RAR
基于android-pdf-viewer增加翻书效果查看pdf,在网上搜索很多关于翻书效果的例子,但是多数是针对于纯文字或者图片view相关,但是在线的PDF文档没有确切的翻书效果,结合自己之前的翻书效果,和现有的PDF阅读器,增加了PDF翻书效果展示模块。可以直接使用。在布局文件中添加容器即可,开发版还不完善,大家可以下载自行完善,在资源回收和内存占用方面也有很多的不足之处,还请谅解,接下来会写一篇关于相关效果设计的过程,里面使用了原来PDF阅读器获取对应页面的bitmap,然后加载到adapter里面,在抛给上层进行显示,上层的翻书效果可以自行设计,这里面只是给了一个简单的例子,提供一个思路。方便大家能更好理解该功能。

文件下载

资源详情

[{"title":"( 80 个子文件 2.27MB ) 基于android-pdf-viewer增加翻书效果查看pdf","children":[{"title":"AndroidPdfViewer-master","children":[{"title":"gradlew.bat <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"android-pdf-viewer","children":[{"title":"src","children":[{"title":"main","children":[{"title":"res","children":[{"title":"drawable","children":[{"title":"default_scroll_handle_left.xml <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"default_scroll_handle_bottom.xml <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"default_scroll_handle_top.xml <span style='color:#111;'> 255B </span>","children":null,"spread":false},{"title":"default_scroll_handle_right.xml <span style='color:#111;'> 354B </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"attrs.xml <span style='color:#111;'> 397B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"item_page_widget.xml <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"page_turning_view.xml <span style='color:#111;'> 572B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"github","children":[{"title":"barteksc","children":[{"title":"pdfviewer","children":[{"title":"AnimationManager.java <span style='color:#111;'> 6.87KB </span>","children":null,"spread":false},{"title":"PageTurningView.java <span style='color:#111;'> 8.79KB </span>","children":null,"spread":false},{"title":"exception","children":[{"title":"FileNotFoundException.java <span style='color:#111;'> 955B </span>","children":null,"spread":false},{"title":"PageRenderingException.java <span style='color:#111;'> 309B </span>","children":null,"spread":false}],"spread":false},{"title":"PageWidgetAdapter.java <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"model","children":[{"title":"LinkTapEvent.java <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"PagePart.java <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"PageWidget.java <span style='color:#111;'> 29.89KB </span>","children":null,"spread":false},{"title":"PdfFile.java <span style='color:#111;'> 12.73KB </span>","children":null,"spread":false},{"title":"CacheManager.java <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"PDFView.java <span style='color:#111;'> 52.01KB </span>","children":null,"spread":false},{"title":"scroll","children":[{"title":"DefaultScrollHandle.java <span style='color:#111;'> 7.28KB </span>","children":null,"spread":false},{"title":"ScrollHandle.java <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false}],"spread":false},{"title":"PagesLoader.java <span style='color:#111;'> 12.59KB </span>","children":null,"spread":false},{"title":"DragPinchManager.java <span style='color:#111;'> 11.40KB </span>","children":null,"spread":false},{"title":"DecodingAsyncTask.java <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"util","children":[{"title":"Constants.java <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"ArrayUtils.java <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"Util.java <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"FileUtils.java <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"PageSizeCalculator.java <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"FitPolicy.java <span style='color:#111;'> 707B </span>","children":null,"spread":false},{"title":"MathUtils.java <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"SnapEdge.java <span style='color:#111;'> 711B </span>","children":null,"spread":false}],"spread":false},{"title":"link","children":[{"title":"DefaultLinkHandler.java <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"LinkHandler.java <span style='color:#111;'> 895B </span>","children":null,"spread":false}],"spread":false},{"title":"listener","children":[{"title":"OnDrawListener.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"OnPageErrorListener.java <span style='color:#111;'> 853B </span>","children":null,"spread":false},{"title":"OnTapListener.java <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"OnLongPressListener.java <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"OnErrorListener.java <span style='color:#111;'> 830B </span>","children":null,"spread":false},{"title":"OnShowCompleteListener.java <span style='color:#111;'> 838B </span>","children":null,"spread":false},{"title":"OnPageScrollListener.java <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Callbacks.java <span style='color:#111;'> 5.43KB </span>","children":null,"spread":false},{"title":"OnLoadCompleteListener.java <span style='color:#111;'> 976B </span>","children":null,"spread":false},{"title":"OnRenderListener.java <span style='color:#111;'> 845B </span>","children":null,"spread":false},{"title":"OnPageChangeListener.java <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"source","children":[{"title":"ByteArraySource.java <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"FileSource.java <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"UriSource.java <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"AssetSource.java <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"InputStreamSource.java <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"DocumentSource.java <span style='color:#111;'> 930B </span>","children":null,"spread":false}],"spread":false},{"title":"RenderingHandler.java <span style='color:#111;'> 6.02KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 181B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bintray.gradle <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"sample","children":[{"title":"src","children":[{"title":"main","children":[{"title":"res","children":[{"title":"menu","children":[{"title":"options.xml <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_open_in_browser_grey_700_48dp.png <span style='color:#111;'> 377B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_open_in_browser_grey_700_48dp.png <span style='color:#111;'> 510B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"ic_launcher.png <span style='color:#111;'> 77.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_open_in_browser_grey_700_48dp.png <span style='color:#111;'> 764B </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 26B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_open_in_browser_grey_700_48dp.png <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxxhdpi","children":[{"title":"ic_open_in_browser_grey_700_48dp.png <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"item_page_widget.xml <span style='color:#111;'> 393B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 827B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"assets","children":[{"title":"sample.pdf <span style='color:#111;'> 2.24MB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"github","children":[{"title":"barteksc","children":[{"title":"sample","children":[{"title":"PDFViewActivity.java <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 677B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 607B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 49.91KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 233B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 8.39KB </span>","children":null,"spread":false},{"title":"local.properties <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.30KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 47B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 382B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明