-
Notifications
You must be signed in to change notification settings - Fork 573
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
Out of the box: Listener methods #7
Comments
Thanks! This was actually intended behaviour, as there are two ways to implement the listener:
You don't need both ways, of course. Adding the methods to the Does that help? The documentation was poor, you're right. Has been fixed with 8252c4e |
OK, that helps! I'm not a Java geek and I wasn't sure my workaround was a hack or an allowed way to make things work. :-) mWebView.setListener(this, this); is already there, so I guess that takes care of it then. Thank you for all your work & your quick responses.. |
Great! That's fine, now things have been clarified :) The README was definitely confusing before. Thanks for pointing out! |
Glad to be of help, keep up the good work! |
Following the steps in the readme, Android Studio still threw warnings the Activity must be either abstract or implement AdvancedWebView's Listener methods.
It stopped complaining when I copied the methods from mWebView.setListener to the Activity class and commented out the mWebView.setListener part in onCreate altogether.
(I added the Intent to onExternalPageRequest to be able to have external links open in my phone's browser)
The text was updated successfully, but these errors were encountered: