title: Removing item from list on other activity
body: <p>How can I remove a item from a <code>ListActivity</code> from a button on another Activity, the thing is,</p>
  
  <p>I have this <code>ListActivity</code>:</p>
  
  <pre><code>public class ListaEventos extends ListActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
      }
  
      @Override
      protected void onResume() {
          super.onRestart();
          republicar();
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.lista_eventos, menu);
          return true;
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          switch (item.getItemId()) {
              case R.id.criar_evento:
                  Intent criar = new Intent(this, CriarEvento.class);
                  startActivity(criar);
                  return true;
              default:
                  return super.onOptionsItemSelected(item);
          }
      }
  
      public void republicar() {
          List&lt;DadosEvento&gt; eventos = MySingleton.getInstance().getEventos();
          setListAdapter(new ArrayAdapter&lt;DadosEvento&gt;(this, android.R.layout.simple_list_item_1, eventos));
      }
  
      @Override
      public void onListItemClick(ListView listView, View view, int position, long id) {
  
          DadosEvento clickNumber = MySingleton.getInstance().getEventos().get(position);
  
          Intent intent = new Intent(this, ExibirEvento.class);
          Bundle exibirEvento = new Bundle();
          exibirEvento.putString("exibirNome", clickNumber.getNome());
          exibirEvento.putString("exibirData", clickNumber.getData());
          exibirEvento.putString("exibirEnd", clickNumber.getEndereco());
          exibirEvento.putString("exibirTel", clickNumber.getTel());
          intent.putExtras(exibirEvento);
          startActivity(intent);
      }
  }
  </code></pre>
  
  <p><strong>Other Activity:</strong></p>
  
  <pre><code>public class ExibirEvento extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_exibir_evento);
  
          Intent intent = getIntent();
          Bundle exibirEvento = intent.getExtras();
  
          String exibirNome = exibirEvento.getString("exibirNome");
          String exibirData = exibirEvento.getString("exibirData");
          String exibirEnd = exibirEvento.getString("exibirEnd");
          String exibirTel = exibirEvento.getString("exibirTel");
  
          TextView exibir_nome = (TextView) findViewById(R.id.exibirevento_edittext_nome);
          exibir_nome.setText(exibirNome);
  
          TextView exibir_data = (TextView) findViewById(R.id.exibirevento_edittext_data);
          exibir_data.setText(exibirData);
  
          TextView exibir_end = (TextView) findViewById(R.id.exibirevento_edittext_end);
          exibir_end.setText(exibirEnd);
  
          TextView exibir_tel = (TextView) findViewById(R.id.exibirevento_edittext_tel);
          exibir_tel.setText(exibirTel);
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.exibir_evento, menu);
          return true;
      }
  
      public void sairExibicao(View v) {
          finish();
      }
  }
  </code></pre>
  
  <p>Now, on the ExibirEvento is where it shows me the infos about the Party, and there I need a button that removes that item from the List.</p>