I have a fragment that opens up a new activity. how can I pass data back to the fragment from that activity when user clicks on back button?
I've tried creating a new Intent and put data in there then call setResult(), but neither the Fragment or FragmentActivity got anything in onActivityResult. the only way I can think of now is through static method, but still want to see if there's a proper way of doing this? 
Thanks!
 
     
    