How to add Horizontal and Vertical PDF Viewer - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC: How to add Horizontal and Vertical PDF Viewer

How to add Horizontal and Vertical PDF Viewer 2 years 4 months ago #10857

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 80
  • Thank you received: 0
In my application,i want to create screen in which i want to add two PDFViewer.
-One for displaying PDF with horizontal
-Second displaying PDF with Vertical scrolling.

But we have faced issue with scrolling so how we can manage both in single screen ?

FYI : Please find attached file
Attachments:

Please Log in or Create an account to join the conversation.

How to add Horizontal and Vertical PDF Viewer 2 years 4 months ago #10859

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
can you please better explain your issue and how do you handle the two views?
The best way to handle them is to have two separated instances of the reader and handle them as you need (no shared parameters) .

Please Log in or Create an account to join the conversation.

How to add Horizontal and Vertical PDF Viewer 2 years 4 months ago #10868

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 80
  • Thank you received: 0
We are using this two pdf views (Horizontal view below Vertical view) inside scroll view
1) When scrolling page external scroll view is getting activated hence not get page scroll
2) For that, solution we disable external scrollview on scroll page on PDFLayoutview then not getting control back to external scrollview

Please Log in or Create an account to join the conversation.

How to add Horizontal and Vertical PDF Viewer 2 years 4 months ago #10871

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
you should intercept the touch of the PDFView before the scroll view and handle it as you want.
Even if this is not tight to our library I suggest you to look at this : stackoverflow.com/questions/2646028/andr...ling/2655740#2655740

Please Log in or Create an account to join the conversation.

How to add Horizontal and Vertical PDF Viewer 2 years 3 months ago #10882

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 80
  • Thank you received: 0
I have tried but not got any solution.
I want to use com.radaee.view.PDFViewPager and com.radaee.reader.PDFLayoutView at same activity.
How this possible ?

Please Log in or Create an account to join the conversation.

How to add Horizontal and Vertical PDF Viewer 2 years 3 months ago #10884

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
You need to add the 2 views (PDFViewPager, PDFLayoutView) inside the scrollview, then you need to intercept the touch events and decide which view should handle this event..

You can find many posts on stackoverflow to help you handle this issue, but there is no direct solution.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum