title: Set arguments of fragment from activity
body: <p>I want to pass arguments from my activity to a fragment, embedded into the activity. Fragment is embedded statically in xml layout.
  I tried to call setArgument() like this:</p>
  
  <pre><code>setContentView(R.layout.detail_activity);
  DetailFragment detailFragment = (DetailFragment) getFragmentManager().findFragmentById(R.id.detailFragment);
  detailFragment.setArguments(getIntent().getExtras());
  </code></pre>
  
  <p>but it is already too late, because setArguments has to be called immediately after fragment's creation. The only was I see it to getArguments() and the change the bundle. Any better way?</p>