Code example for WebViewClient

Methods: onPageFinished

0
		 
		super.setWebViewClient(super.appView, new WebViewClient(){
			private WebViewClient client = gapClient;
			public void onPageFinished(WebView view, String url){
				mainDialog.dismiss();
				client.onPageFinished(view, url);
			} 
			 
			public boolean shouldOverrideUrlLoading(WebView view, String url)
			{ 
				return client.shouldOverrideUrlLoading(view, url);
			} 
			}); 
		 
		mainDialog.show();
    } 
} 
Experience pair programming with AI  Get Codota for Java