title: Setting Fragment arguments from Activity
body: <p>I'm wondering if calling <code>setArguments</code> on a Fragment immediately after its instantiation creates any problems. </p>
  
  <p>For example, say we have the following snippet:</p>
  
  <pre><code>Fragment myFragment = new CustomFragment();
  Bundle args = new Bundle();
  args.putBoolean("amIAnArg", true);
  myFragment.setArguments(args);
  </code></pre>
  
  <p>This code seems to work fine, although it looks like the code <em>should</em> create a race condition since a Fragment's arguments can only be set before the <code>onAttach</code> method is called.</p>
  
  <p>Are there any issues with setting a Fragment's arguments in this way?</p>