- fixed loading document from subfolder in assets directory
- fixed scroll handle NPE after document loading error (improvement of 2.0.3 fix)
- fixed incorrect scroll handle position with additional views in RelativeLayout
- improved cache usage and fixed bug with rendering when zooming
- if you are using custom scroll handle: scroll handle implementation changed a little bit, check DefaultScrollHandle source for details
- Fix scroll handle NPE after document loading error
- Fix exceptions caused by improperly finishing rendering task
- Fix NPE when onDetachFromWindow is called
- few API changes
- improved rendering speed and accuracy
- added continuous scroll - now it behaves like Adobe Reader and others
- added
fling
scroll gesture for velocity based scrolling - added scroll handle as a replacement for scrollbar
Configurator#defaultPage(int)
andPDFView#jumpTo(int)
now require page index (i.e. starting from 0)OnPageChangeListener#onPageChanged(int, int)
is called with page index (i.e. starting from 0)- removed scrollbar
- added scroll handle as a replacement for scrollbar, use with
Configurator#scrollHandle()
- added
OnPageScrollListener
listener due to continuous scroll, register withConfigurator#onPageScroll()
- default scroll direction is vertical, so
Configurator#swipeVertical()
was changed toConfigurator#swipeHorizontal()
- removed minimap and mask configuration
- Fix NPE and IndexOutOfBound bugs when rendering parts
- Merge pull request by paulo-sato-daitan for disabling page change animation
- Merge pull request by Miha-x64 for drawing background if set on
PDFView
- update PdfiumAndroid to 1.4.0 with support for rendering annotations
- merge pull request by usef for rendering annotations
- update PdfiumAndroid to 1.3.1 with support for bookmarks, Table Of Contents and documents with password:
- added method
PDFView#getDocumentMeta()
, which returns document metadata - added method
PDFView#getTableOfContents()
, which returns whole tree of bookmarks in PDF document - added method
Configurator#password(String)
- added method
- added horizontal mode to ScrollBar - use
ScrollBar#setHorizontal(true)
orapp:sb_horizontal="true"
in XML - block interaction with
PDFView
when document is not loaded - prevent some exceptions - fix
PDFView
exceptions in layout preview (edit mode)
- update PdfiumAndroid to 1.1.0, which fixes displaying multiple
PDFView
s at the same time and few errors with loading PDF documents.
- fixes bug with strange behavior when indices passed to
.pages()
don't start with0
.
- added method
pdfView.fromUri(Uri)
for opening files from content providers - updated PdfiumAndroid to 1.0.3, which should fix bug with exception
- updated sample with demonstration of
fromUri()
method - some minor fixes
- Initial release