How to swipe pdf pages horizontally in android using MuPDF library

只愿长相守 提交于 2019-12-06 13:47:12

问题


I have built mupdf from source following these steps http://www.mupdf.com/docs/how-to-build-mupdf-for-android. I have integrated it in my app and it is working fine. But in that page is scroll vertically but i want to scroll horizontally. Please help me is it possible or not And if possible give me hint or if any other solution Thanks.


回答1:


You can use the MuPDFPageView instead of the MuPDFReaderView and manage the horizontal scroll manually.




回答2:


in ReaderView.class from

android mupdf library

, you must HORIZONTAL_SCROLLING="false"




回答3:


Good news that I created new repo implement method called

swipeHorizontal(boolean isHorizontal) till create Nuget

https://github.com/minaairsupport/MuPDF_Xamarin



来源:https://stackoverflow.com/questions/34824462/how-to-swipe-pdf-pages-horizontally-in-android-using-mupdf-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!