Code example for WebView: Displaying local web pages

Methods: clearViewloadDatastopLoading

0
				}  
				catch( Exception e ) { }
				 
				try  
				{ 
					view.stopLoading();
			    }  
				catch( Exception e ) { }
			     
				try  
			    { 
					view.clearView();
			    }  
				catch( Exception e ) { }
 
				view.loadData( ERROR_HTML.replace( "{DESCRIPTION}", description ), "text/html", "UTF-8" );
				 
				super.onReceivedError(view, errorCode, description, failingUrl);
			} 
		}); 
		 
Contextual code suggestions in your IDE  Get Codota for Java