title: How can I pass data from activity to the dialogFragment that activity invoked?
body: <p>In my application I have a form the user fills in. Pressing "save" the data will be saved to the local database. I want to add a confirm dialog for the user to review the details he entered before moving on, since those details are crucial.</p>
  
  <p>In my dialogFragment instance, I would have something like: "You are entering these details: A,B,C... do you confirm?"</p>
  
  <p>A,B,C are the values of my EditText fields in the activity which calls the dialogFragment</p>
  
  <p>How can I access those values from the dialogFragment? I am using:</p>
  
  <pre><code>new ConfirmSaveProjectDetails().show(getFragmentManager(),"Confirm");
  </code></pre>
  
  <p>in my activity. <code>ConfirmSaveProjectDetails</code> is my dialogFragment class.</p>
  
  <p>I am not using an Intent, otherwise I would send a Bundle...</p>
  
  <p>Any suggestion? </p>