RadaeePDF.com :: Topic: Refresh page after add/remove annotation (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Refresh page after add/remove annotation

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

  • cerv82
  • cerv82's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 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
Last Edit: 2 years 2 months ago by cerv82.
The administrator has disabled public write access.

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

  • Davide
  • Davide's Avatar
  • OFFLINE
  • Moderator
  • Posts: 663
  • Thank you received: 43
  • Karma: 12
Hi,
please look at:
vRenderAsync(PDFVPage page)
or
RenderToBmp(Bitmap bitmap)
or
ObjsStart()

Here you can find more info about RenderAsync, RenderToBmp , ObjsStart.
Last Edit: 2 years 2 months ago by Davide.
The administrator has disabled public write access.
The following user(s) said Thank You: ruslan.iskhakov

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

  • cerv82
  • cerv82's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 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.
The administrator has disabled public write access.

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

  • admingear
  • admingear's Avatar
  • OFFLINE
  • Administrator
  • Posts: 10
  • Karma: 0
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.
The administrator has disabled public write access.
Powered by Kunena Forum