Code example for WebView

Methods: onPause

0
     * Called when the fragment is visible to the user and actively running. Resumes the WebView. 
     */ 
    @Override 
    public void onPause() { 
        super.onPause(); 
        mWebView.onPause();
    } 
 
    /** 
     * Called when the fragment is no longer resumed. Pauses the WebView. 
     */ 
    @Override 
    public void onResume() { 
        mWebView.onResume();
        super.onResume(); 
    } 
 
    /** 
     * Called when the WebView has been detached from the fragment. 
     * The WebView is no longer available after this time. 
     */