Android - WebView reload on change tab
<p>Main activity:</p>

<pre><code>    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setContentView(R.layout.main);

    Resources ressources = getResources(); 
    TabHost tabHost = getTabHost(); 

    Intent intentHome = new Intent().setClass(this, Home.class);
    TabSpec tabHome = tabHost
      .newTabSpec("Android")
      .setIndicator("", ressources.getDrawable(R.drawable.home_icon))
      .setContent(intentHome);

    tabHost.addTab(tabHome);
    }
</code></pre>

<p>Home.activity:</p>

<pre><code>public class Home extends Activity {

private WebView browser;
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.home);

    this.browser = (WebView) findViewById(R.id.browser);
    this.browser.setWebViewClient(new WebViewClient());
    this.browser.loadUrl("http://google.com");
}
}
</code></pre>

<p>When I change tab my Home.activity and WebView reload, how I can turn off this? Thanks for help :)</p>
