I am trying to implement Search feature for my android app.So, I am using AutoCompleteTextView
. But, I am using ArrayList of custom Object.
This is my class.
public class Vehicle
{
private String model,manufacturer;
}
Now, I have ArrayList of these Vehicle objects.
My question is, How to use these arraylist of objects to set as adapter for AutoCompleteTextView
to search for model
??