-
Notifications
You must be signed in to change notification settings - Fork 74
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
print a view with a recyclerview #34
Comments
I tried many times. |
@jwhijazi can you give me a sample? i tried to use a ListView with a ArrayAdapter but don't work |
page1.xml (layout of the page).
} Code in main activity to generate PDF
` |
I think the proble that the Recyclerview always recycle and reuse its view holders. try this to stop recycling your views:
https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder.html#setIsRecyclable(boolean) |
@tabebqena @fbertanha @jwhijazi @se-bastiaan @Arkar-Aung Hello, I'm maintaining a library whose concept is also based on this library. I think your issue will be solved with it. https://github.com/Gkemon/Android-XML-to-PDF-Generator |
how can i print a view with a recyclerview ?
The text was updated successfully, but these errors were encountered: