Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

refresh page when annotation added works partially 6 years 4 months ago #13189

  • shinijoker
  • shinijoker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Hello everyone,
So this is my problem when I add a bitmap annotation it appears on the page only if the screens begins with this page( if the previous page is partially visible the annotation won't appear immediatly). Could anyone have an idea about that?

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

refresh page when annotation added works partially 6 years 4 months ago #13191

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
I suggest you to check the following method of PDFLayoutView :
refreshPageAsync(int page)
Using the following method you will refresh the page you want.
The following user(s) said Thank You: shinijoker

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

refresh page when annotation added works partially 6 years 4 months ago #13193

  • shinijoker
  • shinijoker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Hi Davide,
Thank you for your reply but actually I'm using the PDFReader Class which uses a view of type PDFView. Is ther any other solution?

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

refresh page when annotation added works partially 6 years 4 months ago #13194

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
PDFReader is an old module with some deprecated classes, so I suggest you to use RDPDFReader from the demo, this is a new module that improves the performance, has higher zoom levels, new features and methods.
The following user(s) said Thank You: shinijoker

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

refresh page when annotation added works partially 6 years 4 months ago #13199

  • shinijoker
  • shinijoker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Thank you for your reply, It works.. The only problem is that the first example with PDFReader is more flexible when moving an annotation (the view is continious when moving an annotation) and it's not the case with RDPFDReader. Is there any solution for that ?

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

refresh page when annotation added works partially 6 years 4 months ago #13200

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
can you please better explain the differences you noticed.
What is the problem with the annots using RDPDFReader?

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum