I applied auto suggest operation on arraylist through MultiAutoCompleteTextView. When I click on suggested list I get the position of item as per suggested list but I want position of item as per items saved in arraylist. One way to get the position is
int position=arrayList.indexOf(item);
But there may be possible duplicate items in the arraylist.How do I get the actual index from arraylist?