title: Replace fragment in actionbarsherlock tabs
body: <p>I want to replace a SherlockListFragment with other SherlockListFragment but I don´t know how to accomplish this</p>
  
  <p>I use this code to create the fragment tabs:</p>
  
  <pre><code>public class MyTabsViewPager extends SherlockFragmentActivity
  {
  ....
  
      @Override
          public void onCreate(Bundle savedInstanceState)
          {
              super.onCreate(savedInstanceState);
  
              mViewPager = new ViewPager(this);
              mViewPager.setId(R.id.pager);           
  
              setContentView(mViewPager);
              bar = getSupportActionBar();
              bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
              bar.setTitle("TAB");
  
              mTabsAdapter = new TabsAdapter(this, mViewPager);
  
              mTabsAdapter.addTab(
                      bar.newTab().setIcon(R.drawable.icon),  
                      Fragment1.class, null);
  
              mTabsAdapter.addTab(
                      bar.newTab().setIcon(R.drawable.icon2),     
                      FragmentList.class, null);
  
          }
  }
  </code></pre>
  
  <p>What i need is to replace in the same tab the FragmentList.class with other fragment Class </p>
  
  <p>Thanks in advance!</p>