I am having a problem with the page view mode in android. I have to view newspaper PDFs and therefore I need to set page view mode to fit width using mPDFView.setPageViewMode(PDFViewCtrl.PAGE_VEW_FIT_WIDTH) in my activity.
However, when the code executes onPageChange(…) in mPDFView.setPageChangeListener(…), the page view mode is set to PDFViewCtrl.PAGE_VEW_FIT_PAGE. It seems as if the page view mode is not set or is somehow reset when page change occurs. The page presentation mode works correctly and maintains whatever mode I set it to.
Can you please advise on how I can resolve this.