title: Android : passing parameters to a tab
body: <p>In my Android app, I use the following code to create tabs :</p>
  
  <pre><code>mTabHost = (FragmentTabHost)findViewById(android.R.id.tabhost);
  mTabHost.setup(this, getSupportFragmentManager(), R.id.realtabcontent);
  mTabHost.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"),
              MyFragment.class, null);
  </code></pre>
  
  <p>In the <code>addTab</code> method, the third parameter is a Bundle object and is <code>null</code>. Could I use this third parameter to pass parameters to my fragment ?</p>
  
  <p>The android API documentation is empty for <code>addTab</code> and does not document this parameter.</p>