Code example for WebView

Methods: stopLoading

0
    } 
 
    @Override 
    public void dismiss() { 
        if (webView != null) {
            webView.stopLoading();
        } 
        if (!isDetached) {
            if (spinner.isShowing()) {
                spinner.dismiss();
            } 
            super.dismiss(); 
        } 
    } 
 
    @Override 
    public void onDetachedFromWindow() { 
        isDetached = true;
        super.onDetachedFromWindow(); 
    }