2

I need to load the url something like https://m.ongein.nl in my web view and the url does not exists.So my webview will be always waiting for page finish.so need to find out if the domain does not exists then quit the web view or give error message.Is there any way to resolve the issue? I have check the log but i can not find the solution

Thank you

1 Answer 1

1

You can implement WebViewClient's onReceivedError for your WebView in conjunction with some TIME_OUT. If your WebViewClient Has not received the onPageFinished Callback till TIME_OUT or onReceivedError, whichever occurs first, then stop loading the page.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.