Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

swipe event

More
10 years 9 months ago #9129 by darvishi
swipe event was created by darvishi
Right now I'm using the PDFViewAct activity for show pdf,
How is it possible to define swipe right and left effect to open another pdf file?
for example if the current file is file2.pdf I need swipe left (or right) to open other_file.pdf.
More
10 years 9 months ago #9144 by Davide
Replied by Davide on topic swipe event
Hi,
if you have a premium or a professional license you can override the onFling() method of PDFLayoutView class and edit it as you want.
Remember to deallocate all the old instances when you open new PDFs to prevent memory issue.

You can also use a ViewPager with pdfreader inside of it
Look at PDFPagerAct. (this sample project opens only one pdf with a customized ViewPager).
More
10 years 9 months ago #9148 by darvishi
Replied by darvishi on topic swipe event
Hi
thanks for your answer.
i cant find PDFPagerAct in PDFReader andRDPdfReader samples
More
10 years 9 months ago #9149 by Davide
Replied by Davide on topic swipe event
Hi,
what version of the library are you using?
You can download the last beta version here .
You can find PDFPagerAct in RDPdfReader.
More
10 years 9 months ago #9150 by darvishi
Replied by darvishi on topic swipe event
Hi
Im using 3.4 Version
but im going to download beta version now
thank you for your help
Time to create page: 0.407 seconds
Powered by Kunena Forum