android - createPrintDocumentAdapter replacement -


i warning when building android project "createprintdocumentadapter" has been deprecated. method on webview.

i have been looking have been unable find intended replacement is. can shed light on this?

thanks, jason

per javadoc createprintdocumentadapter():

this method deprecated in api level 21.

use createprintdocumentadapter(string) requires user provide print document name.

therefore if need support < api 21, continue use current method, on api 21+ devices, use createprintdocumentadapter(string)


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -