There is a webview component, I load the page there:

vw.loadUrl("strURL") 

How do I know if the page has loaded completely or has an error occurred?

    1 answer 1

    1) Let's go to Google.

    2) drive in

    webview android oncomplete listener

    3) Get the answer :

     mWebView.setWebViewClient(new WebViewClient() { public void onPageFinished(WebView view, String url) { System.out.println("Ух ты как просто!"); Toast.makeText(context, "Спасибо гуглу за это", Toast.LENGTH_LONG).show(); } }); 
    • Thank you - kaaa
    • @kaaa, this is all google) I have almost nothing to do with it) - Yuriy SPb