{"action":"created","issue":{"url":"https://api.github.com/repos/SufficientlySecure/document-viewer/issues/159","repository_url":"https://api.github.com/repos/SufficientlySecure/document-viewer","labels_url":"https://api.github.com/repos/SufficientlySecure/document-viewer/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/SufficientlySecure/document-viewer/issues/159/comments","events_url":"https://api.github.com/repos/SufficientlySecure/document-viewer/issues/159/events","html_url":"https://github.com/SufficientlySecure/document-viewer/issues/159","id":122415947,"number":159,"title":"could I show PDF in fragment?","user":{"login":"sunyuyangg555","id":5210372,"avatar_url":"https://avatars.githubusercontent.com/u/5210372?v=3","gravatar_id":"","url":"https://api.github.com/users/sunyuyangg555","html_url":"https://github.com/sunyuyangg555","followers_url":"https://api.github.com/users/sunyuyangg555/followers","following_url":"https://api.github.com/users/sunyuyangg555/following{/other_user}","gists_url":"https://api.github.com/users/sunyuyangg555/gists{/gist_id}","starred_url":"https://api.github.com/users/sunyuyangg555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunyuyangg555/subscriptions","organizations_url":"https://api.github.com/users/sunyuyangg555/orgs","repos_url":"https://api.github.com/users/sunyuyangg555/repos","events_url":"https://api.github.com/users/sunyuyangg555/events{/privacy}","received_events_url":"https://api.github.com/users/sunyuyangg555/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-16T02:54:29Z","updated_at":"2016-02-05T00:10:38Z","closed_at":"2016-02-05T00:10:38Z","body":"could I show PDF in fragment? if yes what should i do?"},"comment":{"url":"https://api.github.com/repos/SufficientlySecure/document-viewer/issues/comments/180115976","html_url":"https://github.com/SufficientlySecure/document-viewer/issues/159#issuecomment-180115976","issue_url":"https://api.github.com/repos/SufficientlySecure/document-viewer/issues/159","id":180115976,"user":{"login":"ericwa","id":239161,"avatar_url":"https://avatars.githubusercontent.com/u/239161?v=3","gravatar_id":"","url":"https://api.github.com/users/ericwa","html_url":"https://github.com/ericwa","followers_url":"https://api.github.com/users/ericwa/followers","following_url":"https://api.github.com/users/ericwa/following{/other_user}","gists_url":"https://api.github.com/users/ericwa/gists{/gist_id}","starred_url":"https://api.github.com/users/ericwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericwa/subscriptions","organizations_url":"https://api.github.com/users/ericwa/orgs","repos_url":"https://api.github.com/users/ericwa/repos","events_url":"https://api.github.com/users/ericwa/events{/privacy}","received_events_url":"https://api.github.com/users/ericwa/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T00:10:38Z","updated_at":"2016-02-05T00:10:38Z","body":"I think it's outside the scope of this project to make a Fragment subclass for viewing PDF's reusable by other applications, so I'll close this for now.\r\n\r\nMaybe the PdfRenderer class introduced in Android 5.0 would be useful to you, see this sample app which displays it in a Fragment: https://github.com/googlesamples/android-PdfRendererBasic"}}