Code example for WebView

Methods: clearHistoryclearViewstopLoading, freeMemory, getVisibility, setVisibility

0
 
    } 
 
	public void exitWebView() 
	{ 
		if(mWebView != null && mWebView.getVisibility() == View.VISIBLE)
		{			 
			mWebView.setVisibility(View.INVISIBLE);
			mWebView.stopLoading();
			mWebView.freeMemory();
			mWebView.clearHistory();
			mWebView.clearView();
		}		 
 
		if(t != null)
		{ 
			t.cancel();
		} 
 
		//do callback 
Connect your IDE to all the code out there  Get Codota for Java