Code example for WebView

Methods: removeAllViewsdestroy

0
	 * of the WebView. 
	 */ 
	@Override 
	public void onDestroy() { 
		if (mWebView != null) {
			mWebView.removeAllViews();
			mWebView.destroy();
			mWebView = null;
		} 
 
		super.onDestroy(); 
	} 
 
	protected void setActionBarTitle(int id) {
		mTitle.setText(id);
	} 
 
	protected void setActionBarTitle(String title) {
		mTitle.setText(title);
	}