title: How to pass result from BottomSheetDialogFragment to Activity which started it?
body: <p>I have attached BottomSheetDialogFragment to one of my fragment.In that bottom sheet ,I have given option </p>
  
  <ol>
  <li>open gallery</li>
  <li>open camera</li>
  </ol>
  
  <p><strong>For Open gallery</strong> </p>
  
  <pre><code>private void startGallery() {
          Intent intentGallery = new Intent(baseActivity, SelectImage.class);
          intentGallery.putExtra("LIMIT", 10);
        startActivityForResult(intentGallery, REQUEST_GALLERY_CODE);
  
          return;
      }
  </code></pre>
  
  <p>This code i have written in <code>BottomSheetDialogFragment</code>.But the response of 
  <strong>onActivityResult()</strong> , i want to listen in Fragment which initiated it at first place. How to achieve that?</p>