title: How can I Perform networking(save results in the database using volley) based on the result I got from a fragment?
body: <p>I have an activity and a fragment. If I click a button then a fragment is called. Upon the result I got from the fragment I need some networking call to perform using volley. But I can't do any networking call from activity unless I call this within <code>onClick()</code> method.</p>
  
  <p>I tried to perform networking from within <code>onClick()</code> of the fragment but that did not worked too.</p>
  
  <p>How can i perform networking from the activity upon the result I got from the fragment? Do I must call from within <code>onClick()</code>?</p>
  
  <p><a href="http://paste.ubuntu.com/15260286/" rel="nofollow">This is the fragment</a> 
  <a href="http://paste.ubuntu.com/15260300/" rel="nofollow">This is the Activity</a></p>