title: how to send value through intent after finishing an activity
body: <p>I have an activity that shows a gridview of items. when I click in any of them, I move to another activity showing the information of the item. I also have the option to go back (gridview activity) or delete it.</p>
  
  <p>If I delete it, I need to refresh the gridview, so I need to send a variable saying "eey, I have deleted an item. you need to refresh".</p>
  
  <p>I guess I need to open the second activity with startActivityForResult, but I don't know how should I set the value.</p>
  
  <p>option 1 (back arrow): finishes the activity. no result back.
  option 2 (delete item): finishes the activity and sets a result back.</p>
  
  <p>Thanks in advance!</p>