title: WebView reloading when Fragment in ViewPager is retained form BackStack
body: <p>Here is a code for a basic <code>Fragment</code> which contains a <code>WebView</code>.<br/>
  <code>WebFragment.java</code><br/></p>
  
  <pre><code>public class WebFragment extends Fragment {
  String TAG = "WebFragment";
  private WebView webView;
  private String currentUrl = "http://www.google.com";
  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
      return inflater.inflate(R.layout.webview_layout, null);
  }
  
  @Override
  public void onActivityCreated(Bundle savedInstanceState) {
      super.onActivityCreated(savedInstanceState);
      webView = (WebView) getView().findViewById(R.id.helloWebview);
      initWebView();
      webView.loadUrl(currentUrl);
  }
  
  @SuppressLint("SetJavaScriptEnabled")
  private void initWebView() {
      webView.getSettings().setJavaScriptEnabled(true);
      webView.addJavascriptInterface(new JavaScriptInterface(), "HTMLOUT");
      webView.setWebViewClient(new WebViewClient() {
          @Override
          public void onPageStarted(WebView view, String url, Bitmap favicon) {
              Log.e(TAG, "Loding...");
              super.onPageStarted(view, url, favicon);
          }
      });
  }
  
  class JavaScriptInterface {
      public void showHTML(String html) {
      }
  }
  }
  </code></pre>
  
  <p>I have 2 more basic fragments also(which doesn't have <code>WebView</code>). Then I put all these 3 <code>Fragments</code> in <code>ViewPager</code>(<code>WebFragment</code>, <code>Fragment1</code> and <code>Fragment2</code>respectively) using <code>FragmentAdapter</code>. And I added <code>android:configChanges="orientation|screenSize"</code> in <code>AndroidManifest.xml</code>(So <code>WebView</code> will not realod on configration change).<br/>
  Now my problem is, While running app I changed the 1st page (WebFragmet) of <code>ViewPager</code> to 2nd page(<code>Fragment1</code>) and again I came back to 1st page. So no problem <code>WebFragment</code> is as it is. <br/><br/>
  Now again I changed the <code>ViewPager</code> like this <code>WebFragment</code>--><code>Fragment1</code>--><code>Fragment2</code> and came back to 1st page by reversing the direction of above action. But at that time I saw the <code>WebView</code> in <code>WebFragment</code> is reloading.</p>
  
  <p>And one more problem, whenever the <code>WebView</code> started loading I can see 2 log entry like.<br/></p>
  
  <pre><code>WebFragment Loading...
  WebFragment Loading...
  </code></pre>
  
  <p>So my question is :<br/>
  1) How can I prevent <code>WebView</code> reloading when the <code>WebFragment</code> is retained from <code>BackStack</code>?<br/>
  2) Why here <code>WebView</code> loading twice?<br/><br/></p>
  
  <p>Just see this question and help me(<a href="https://stackoverflow.com/questions/14552377/prevent-webview-reloads-in-fragmentpageradapter">Prevent WebView reloads in FragmentPagerAdapter?</a>).</p>