Dami PDF : Recycler PDF Viewer (Beta)

 

This is simple PDF viewer to load PDF in Vertical or Horizontal orientation.


 

  • Recyclerview Library with snaper
  • Load from URL ,assets or path
  • Easy to use
  • Supports transparent background
  • Set Quality
  • Goto Page / Get page

DamiPDF

Extension component for DamiPDF. Created using Rush.

Methods:

LoadPDFFromURL

 


Load PDF from URL

ParameterType
urltext
containercomponent
orientationtext
qualitynumber



LoadPDFFromAssets

Load PDF from assets


 

ParameterType
assetNametext
containercomponent
orientationtext
qualitynumber



LoadPDFFromFile

Load PDF from file


 

ParameterType
filePathtext
containercomponent
orientationtext
qualitynumber



ClearPDF

Clear the loaded PDF from the arrangement


 

ParameterType
containercomponent



GoToPage

Go to a specific page


 

ParameterType
pagenumber



Events:

PDFLoaded

PDF loaded successfully


 

ParameterType
infolist



PDFLoadError

Error occurred while loading PDF


 

ParameterType
errorMessagetext



PageChanged

Page changed


 

ParameterType
newPagenumber



Properties:

CurrentPage

Get the current page number


 



Horizontal

Returns horizontal arrangement


 



Vertical

Returns vertical arrangement


 



Download 

AIX | AIA