in reference of verticalViewPager
abhinavtestbook opened this issue · 1 comments
abhinavtestbook commented
As discussed in #141 , the function accepts atributesSets as parameter but i need to pass pdf location path in sd card [file.absolutePath] , how to achieve it ?
voghDev commented
Hi,
If you want to create the PdfViewPager
by code, you can pass the absolute path directly. See this code, you have a constructor for that. Have a look at the samples app if you can't figure out how, there are a few examples that you can copy :-)
If you need to pass it in your XML file, then you need to create your own subclass, as absolute paths are not supported via AttributeSet in XML layouts.