title: passing context as argument of DialogFragment
body: <p>it's possible to pass a context variable to a DialogFragment?</p>
  
  <p>i've use this code inside dialog for passing a string:</p>
  
  <pre><code>public static ConfirmDialog newInstance( String f) {
      ConfirmDialog d = new ConfirmDialog();
  
      Bundle args = new Bundle();
      args.putString("FILE_NAME", f);
      d.setArguments(args);
  
      return d;
  }
  </code></pre>
  
  <p>but i don't find any function like putString for passing context. It's possible to do that?</p>