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
CB-9393: Documenting how to embed a SystemWebView #544
Conversation
@riknoll Bump, I've updated the branch |
parser.parse(this); | ||
|
||
SystemWebView webView = (SystemWebView) findViewById(R.id.tutorialView); | ||
webInterface = new CordovaWebViewImpl(new SystemWebViewEngine(webView)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
webInterface
needs to be declared
Minor comments, but otherwise looks pretty good! |
Blargh! I need to hunt down the merge conflict before re-sending this pull request. I have no idea what changed on this file, though. |
following: | ||
private CordovaInterfaceImpl iface = new CordovaInterfaceImpl(this); | ||
|
||
1. Add the following to intialize the WebView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initialize*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if i want to override
setWebChromeClient(WebChromeClient client)
method of systemWebView
I got rutime error of class cast exception
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commenting on old docs PRs is never the right solution. Better create a Stack Overflow question.
Redo of the pull request to update the SystemWebView documentation.