title: How to delete a ListView document from Firestore in Android when I click it?
body: <p>I wanna delete a document from firestore and I wanna change the activity when I click to the listView item. I can change the activity and I can remove the movie when I click it but I open the app again it's still in there cause I can't delete it from firestore I try but I couldn't do it. How can I do that?</p>
  
  <p><a href="https://i.stack.imgur.com/S7ceU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S7ceU.png" alt="enter image description here"></a></p>
  
  <pre><code>listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
              filmArray.remove(position);
              arrayAdapter.notifyDataSetChanged();
              Intent intent=new Intent(IzlemekIstediklerim.this,FilmEkle.class);
              startActivity(intent);
          }
      });
  </code></pre>