title: How can I pass extra data to  fragment class and how to get that data in fragment?
body: <p>I have developed an application with tab using FragmentActivity. How can I pass some extra data while calling fragments and how can I get that data in fragment class?</p>
  
  <p>The code for adding tab is given below. Fragment class is specified directly within it.</p>
  
  <pre><code>mTabManager.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"),
      DetailFragment.class, null);
  </code></pre>
  
  <p>In this case how can I pass some data to fragment class. Please any one help to do this.</p>