This is my arrayAdapter:
List<Nota> notas;
notas = bd.buscar(); // this function returns a list of Objects "Nota"
ArrayAdapter<Nota> arrayAdapter = new ArrayAdapter<Nota>
(this, android.R.layout.simple_list_item_1, notas);
list.setAdapter(arrayAdapter);
The object Nota has 2 fields, an Integer, and a String. I want to put the String field from Nota as title of the ArrayAdapter, how can I do that?