title: Remove an item from a ListView and from a file
body: <p>So, i'm storing my datas in an IO-file! My datas are displayed and i want to delete an item from the listview, i maked this code, and i'm stucking!</p>
  
  <pre><code>L.setOnItemLongClickListener(new OnItemLongClickListener() {
  
              @Override
              public boolean onItemLongClick(AdapterView&lt;?&gt; arg0, View arg1,
                      final int arg2, long arg3) {
  
                  AlertDialog alert_reset;
                  AlertDialog.Builder builder = new AlertDialog.Builder(activity);
                  builder.setMessage("Supprimer cette donnée ?")
                          .setCancelable(false)
                          .setPositiveButton("Oui",
                                  new DialogInterface.OnClickListener() {
                                      @Override
                                      public void onClick(DialogInterface dialog,
                                              int id) {
                                          .............
                                  updatelv(activity);
                                      }
                                  })
                          .setNegativeButton("Non",
                                  new DialogInterface.OnClickListener() {
                                      @Override
                                      public void onClick(DialogInterface dialog,
                                              int id) {
                                          dialog.cancel();
                                      }
                                  });
                  alert_reset = builder.create();
                  alert_reset.show();
  
                  return true;
              }
  </code></pre>
  
  <p>Have i to use <code>List.remove(arg2)</code>?
  And for deleting the data from a file, how can i do this ?
  Thank you.</p>