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

TOPIC:

Refresh page after add/remove annotation 8 years 11 months ago #8980

  • cerv82
  • cerv82's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Is there any way to refresh the page after add or remove an annotation? What I'm doing currently is calling the vRenderSync after add the annotations but this locks the UI thread, If I run this method on a background thread I see a lot of flickering and not all the annotations being rendered. In both cases, I'm invalidating the View.


Regards

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

Last edit: by cerv82.

Refresh page after add/remove annotation 8 years 11 months ago #8981

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
please look at:
vRenderAsync(PDFVPage page)
or
RenderToBmp(Bitmap bitmap)
or
ObjsStart()

Here you can find more info about RenderAsync , RenderToBmp , ObjsStart .
The following user(s) said Thank You: ruslan.iskhakov

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

Last edit: by Davide.

Refresh page after add/remove annotation 8 years 11 months ago #8982

  • cerv82
  • cerv82's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Hi Davide, I already read about those methods and believe me I been trying to make this working for two days now, I'm stuck at the same point, I'm trying to draw the annotations on a background thread without blinking but there's one issue that I just can't resolve, which is that if I remove one markup it's still being displayed.

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

Refresh page after add/remove annotation 8 years 11 months ago #8991

  • adminjugaad
  • adminjugaad's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 12
  • Thank you received: 1
dear cerv82, may you send you code?
May be open a support ticket as per bug submission.
In the ticket message refer to this forum thread putting the complete URL.

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

  • Page:
  • 1
Powered by Kunena Forum