-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use this library with Fragment #36
Comments
Did you find a solution to this? |
I just tried to modify the source code for fragment, but pdf content is not displayed instead a black screen is displayed in fragment area. |
Anyone solved this problem? |
Since "this" doesnt work in a fragment we have to use "getActivity()" instead. Here is the code to use with fragment -
|
I'm using this inside fragment without any problems. using PDFView in my fragments layout and then calling the load from assets as described in sample in my onViewCreated method |
Hi,
How can I use this library with Fragment. I have gone through the source code, current code only supports only Activity. Please help me to achieve the same with Fragment.
Thanks
The text was updated successfully, but these errors were encountered: