Code example for Loader

Methods: forceLoad, onStartLoading

0
		super(context);
	} 
	 
	@Override 
	protected void onStartLoading() { 
		super.onStartLoading(); 
		 
		if (mWebView != null) {
			deliverResult(mWebView);
		} 
		 
		if (takeContentChanged() || mWebView == null) {
			forceLoad(); 
		} 
	} 
	 
	@Override 
	public void forceLoad() { 
		super.forceLoad(); 
 
		Context context = getContext();
		mWebView = new WebView(context);
		mWebView.setScrollbarFadingEnabled(true);
		WebSettings webSettings = mWebView.getSettings();