title: How to delete Item from ArrayList on another activity & update on previous activity?
body: <p>I have an ArrayList I am sending item onItemClick On another activity from this:-</p>
  
  <pre><code>list.setOnItemClickListener(new OnItemClickListener() {
  
          public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1,
                  int position, long arg3) {
              Intent i = new Intent(MessageEmail.this, MessageByMessage.class);
              i.putExtra("msg_title", unreadMsgList.get(position).address);
              i.putExtra("full_msg",
                      unreadMsgList.get(position).unreadMessage);
              i.putExtra("pos", position);
              startActivity(i);
              finish();
  
          }
      });
  </code></pre>
  
  <p>&amp; get On another activity &amp; set on text from this:-</p>
  
  <pre><code>title=getIntent().getExtras().getString("msg_title");
      message=getIntent().getExtras().getString("full_msg");
      position=getIntent().getExtras().getInt("pos");
      title_txt.setText(title);
      msg_txt.setText(message);
  </code></pre>
  
  <p>Now <strong>Problem is that</strong> I have a delete button in this activity. <strong>I want to delete item on Button click  &amp; will switch on my first activity Where List should be refresh</strong>.
  Thanks in advance!
  Deepanker</p>