Version 6.10.4 Changelog (May 29, 2019)
Version: 6.10.4.70914
Release Date: May 29, 2019
New features
Adds freeform rotation to stamp annotations

Adds builder API for easy construction and customization of
PdfViewCtrlTabHostFragmentandPdfViewCtrlTabFragmentAdds calibration to measurement tools

Adds API to support vertical reflow control scrolling direction
Adds ViewerConfig API to disable editing of separate dialogs such as ThumbnailsViewFragment, UserBookmarkDialogFragment and AnnotationDialogFragment
Flutter and React Native wrapper now comes with customization APIs
Fixed
Fixed issue where non-seekable content URI would not save correctly when opened
PdfViewCtrlTabHostFragmentorDocumentActivityFixed issue where switching day/night mode in DocumentActivity would crash on some devices
Fixed issue where quick menu might be cut off after orientation change on some devices
Fixed issue where
AnnotationToolbarmay crash if its XML is overridden from application with elements removedFixed issue where non-PDF HTTP/HTTPS URL without extension would crash the viewer
Performance improvement for export annotation feature
APIs
PDFViewCtrlTools package
ViewerBuilder
new class: ViewerBuilder
new method: Fragment build(Context)
new method: ViewerBuilder usingCacheFolder(boolean)
new method: ViewerBuilder usingConfig(ViewerConfig)
new method: ViewerBuilder usingCustomToolbar(int[])
new method: ViewerBuilder usingFileType(int)
new method: ViewerBuilder usingNavIcon(int)
new method: ViewerBuilder usingQuitAppMode(boolean)
new method: ViewerBuilder usingTabClass(Class<? extends PdfViewCtrlTabFragment>)
new method: ViewerBuilder usingTabTitle(String)
new static method: ViewerBuilder withFile(File)
new static method: ViewerBuilder withFile(File, String)
new static method: ViewerBuilder withUri(Uri)
new static method: ViewerBuilder withUri(Uri, String)
ViewerConfig.Builder
new method: ViewerConfig.Builder annotationsListEditingEnabled(boolean)
new method: ViewerConfig.Builder thumbnailViewEditingEnabled(boolean)
new method: ViewerConfig.Builder userBookmarksListEditingEnabled(boolean)
ReflowControl
new static final field: int HORIZONTAL
new static final field: int VERTICAL
new method: int getOrientation()
new method: void setOrientation(int)
CalibrateDialog
new class: CalibrateDialog
CalibrateResult
new class: CalibrateResult
CalibrateViewModel
new class: CalibrateViewModel
TextInputViewModel
modified class: TextInputViewModel
public class TextInputViewModel extends ViewModel
public class TextInputViewModel extends SimpleDialogViewModel
AnnotUtils
new static method: Bitmap getStampAppearance(PDFViewCtrl, Annot)
new static method: int getStampDegree(Annot)
new static method: int getStampDegreeOld(Annot)
new static method: void putStampDegree(Annot, int)
MeasureUtils
new static method: RulerItem calibrate(Annot, RulerItem, float)
new static method: double getLineLength(double, double, double, double)
ReflowWebView
new method: void setOrientation(int)
Utils
new static method: double angleBetweenTwoPointsWithPivot(double, double, double, double, double, double)
new static method: Single<File> duplicateInFolder(ContentResolver, Uri, String, File)
new static method: boolean isNonPDFByMimeType(String)
SimpleDialogViewModel
new abstract class: SimpleDialogViewModel<T>
new constructor: SimpleDialogViewModel()
new method: void complete()
new method: void observeChanges(LifecycleOwner, Observer<T>)
new method: void observeOnComplete(LifecycleOwner, Observer<Event<T>>)
new method: void set(T)
RotateHandleView
new class: RotateHandleView
Last updated
Was this helpful?