title: Android - How to update a display after a tab switch?
body: <p>I have an app with a TabHost and three tabs. He is an example of how I am creating each tab:</p>
  
  <pre><code>    intent = new Intent().setClass(this, Setup.class); //intent.getClass()
      spec = tabHost.newTabSpec("setup").setIndicator("",
                      res.getDrawable(R.drawable.tab_setup))
                      .setContent(intent);
      tabHost.addTab(spec);
  </code></pre>
  
  <p>My goal is, when you switch to a new tab, to call a method updating the information displayed on that tab. </p>
  
  <p>Here is the question: How does a tab know it has been displayed? </p>