I want to show only one parameter from object(s) found using AutoCompleteTextView
. I have list of custom items and I'm using this list in ArrayAdapter
which is used in my AutoCompleteTextView
. But as I find item by typing something to AutoCompleteTextView
, only object as whole is shown (Object type and some identifier), but I want to show just Objects attribute "name"
which is a String
.
The way i'd go about this is making a separate arraylist with all the names inside of it. Display that and get the user to chose from there, once they have use the index to find the object in the other list.