Get Fragment during onStart in FragmentActivity
<pre><code>// Code for JStockFragmentActivity
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    ...
    tabsAdapter.addTab(actionBar.newTab().setText(getString(R.string.portfolio)),
        PortfolioManagementFragment.class, null);
}

@Override
protected void onStart() {
    super.onStart();

    portfolioManagementFragment = ((PortfolioManagementFragment)Utils.getFragment(this, 1));

    if (portfolioManagementFragment != null) {
        Log.i("CHEOK", "get portfolioManagementFragment sucess");
    } else {
        Log.i("CHEOK", "get portfolioManagementFragment fail");
    }

@Override
public boolean onOptionsItemSelected(MenuItem menuItem) {
    final int menuItemId = menuItem.getItemId();        

    if (menuItemId == R.id.menu_open_from_cloud) {
        // Utils.getFragment works fine right here.
    }
}
</code></pre>

<hr>

<pre><code>// Code for Utils
/**
 * Returns index th fragment.
 * @return the index th fragment
 */
public static Fragment getFragment(FragmentActivity fragmentActivity, int index) {
    return fragmentActivity.getSupportFragmentManager().findFragmentByTag("android:switcher:" + R.id.viewPager + ":" + index);
}
</code></pre>

<hr>

<p>I always fail to execute <code>Utils.getFragment</code>, within <code>FragmentActivity</code> <code>onStart</code>. It always returns null.</p>

<p>However, if I execute <code>Utils.getFragment</code> within a menu event handler method, it works just fine.</p>

<p>Is there anything I can get <code>Fragment</code> during <code>onStart</code>?</p>
