title: How to get data from fragment to parent activity & pass it to back activity?
body: <p>How flow goes?</p>
  
  <p><strong><code>Activity 1 -----&gt; Activity 2 (containing/inside) ------&gt;  Fragment</code></strong></p>
  
  <p>WhatI want to achieve?</p>
  
  <p><strong><code>Fragment (sends some data back to Activity 2) ----&gt; Activity 2 (onBackPressed : collects that data &amp; send it back to Activity 1) ---&gt; Activity 1</code></strong></p>
  
  <p>How should I achieve above. I really don't want to use any variables/constants to cache the fragment data. Need to know any in-built method to handle this?</p>
  
  <p>Moreover, </p>
  
  <ul>
  <li>Activity 2 loads Fragment inside it.</li>
  <li>In onBackPressed, I'm using setResult in Activity 2 to do standard data passing using startActivityForResult from Activity 1.</li>
  <li>Also, if I write any method inside Fragment &amp; call from Activity 2 using then due to that to/fro process a WHITE screen appears. So, really don't want to write own method &amp; need to manage it while leaving the Fragment.</li>
  </ul>