{"action":"closed","issue":{"url":"https://api.github.com/repos/voghDev/PdfViewPager/issues/8","repository_url":"https://api.github.com/repos/voghDev/PdfViewPager","labels_url":"https://api.github.com/repos/voghDev/PdfViewPager/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/voghDev/PdfViewPager/issues/8/comments","events_url":"https://api.github.com/repos/voghDev/PdfViewPager/issues/8/events","html_url":"https://github.com/voghDev/PdfViewPager/issues/8","id":159338844,"number":8,"title":"zooming in remote pdf","user":{"login":"shyamsam","id":17060311,"avatar_url":"https://avatars.githubusercontent.com/u/17060311?v=3","gravatar_id":"","url":"https://api.github.com/users/shyamsam","html_url":"https://github.com/shyamsam","followers_url":"https://api.github.com/users/shyamsam/followers","following_url":"https://api.github.com/users/shyamsam/following{/other_user}","gists_url":"https://api.github.com/users/shyamsam/gists{/gist_id}","starred_url":"https://api.github.com/users/shyamsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shyamsam/subscriptions","organizations_url":"https://api.github.com/users/shyamsam/orgs","repos_url":"https://api.github.com/users/shyamsam/repos","events_url":"https://api.github.com/users/shyamsam/events{/privacy}","received_events_url":"https://api.github.com/users/shyamsam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-09T06:47:03Z","updated_at":"2016-07-21T09:42:26Z","closed_at":"2016-07-21T09:42:26Z","body":"I have integrate your library in my app. But am facing an issue when am populating the downloaded pdf from remote server. The issue is that the pdf is not zoomable. \r\n\r\nPart of the xml is : \r\n\r\n         <es.voghdev.pdfviewpager.library.PDFViewPagerZoom\r\n            android:id=\"@+id/pdfViewPager\"\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"match_parent\"\r\n            android:layout_weight=\"1.55\"\r\n          />\r\n\r\nAm able to download and view the pdf in the activity. The portion of the code is given below:\r\n\r\n    public class Pdf extends AppCompatActivity implements DownloadFile.Listener{\r\n      RemotePDFViewPager remotePDFViewPager;\r\n     PDFPagerAdapter adapter;\r\n       PDFViewPager pdfViewPager;\r\n\r\n\r\n     @Override\r\n    public void onCreate(Bundle savedInstanceState){\r\n        super.onCreate(savedInstanceState);\r\n    remotePDFViewPager = new RemotePDFViewPager(getBaseContext(), \"http://partners.adobe.com/public/developer/en/xml/AdobeXMLFormsSamples.pdf\",this);\r\n               pdfViewPager = (PDFViewPager) findViewById(R.id.pdfViewPager);\r\n    }\r\n\r\n    public static void open(Context context){\r\n        Intent i = new Intent(context, Pdf.class);\r\n        context.startActivity(i);\r\n    }\r\n\r\n      @Override\r\n        public void onSuccess(String url, String destinationPath) {\r\n      \r\n        adapter = new PDFPagerAdapter(this, FileUtil.extractFileNameFromURL(url));\r\n         pdfViewPager.setAdapter(adapter);\r\n     }\r\n\r\nIn onSucces if am using PDFPagerAdapterZoom , the pdf which gets loaded to activity is so small, then too am able to zoom it. But I want the pdf to be as the size when I use PDFPagerAdapter and with zooming option in it. \r\nHow to make pdf as the size of when it loads via PDFPagerAdapter with zooming ? "}}
{"actor":{"display_login":"voghDev"}}