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

TOPIC:

onPageChanged() interfering with PDFGotoPage() 10 years 3 months ago #4979

  • sarveshjoshi
  • sarveshjoshi's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Hi,
I am calling m_reader.PDFGotoPage() and the code executes, but the implemented method OnPageChanged() also gets called () and a random page opens in the end.
I am calling PDFGotoPage() inside onActivityResult()

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

onPageChanged() interfering with PDFGotoPage() 10 years 3 months ago #4992

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
It's normal that the method OnPageChanged() is called when you call m_reader.PDFGotoPage() as the you are changing the current visible page..
Using the demo project it's working without problems..so try to check if you have modified something that causes this behavior..

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

  • Page:
  • 1
Powered by Kunena Forum