title: Adapter.getItem(index) what return value?
body: <p>As i read <code>Adapter.getItem(index)</code> can retreive a data from a ListView. For that reason, i have to use it to make some treatments. The problem is this function returns an object, and in my case i want it to return a String(as my datas are in String). Is there any solution tothis or any alternative ?
  Thank you.
  Code:</p>
  
  <pre><code>AlertDialog alert_reset;
  AlertDialog.Builder builder = new AlertDialog.Builder(activity);
  builder.setMessage("Supprimer cette donnee ?")
  .setCancelable(false)
  .setPositiveButton("Oui",
  new DialogInterface.OnClickListener() {
  @Override
  public void onClick(DialogInterface dialog,
  int id) {
  adapter.getItem(arg2);// i want to retreive this
  list.remove(arg2);
  </code></pre>