Is it possible to determine the originating AutoCompleteTextView from the parameters of the callback onItemClick?
I have the following callback function, which is co
If you want to know which currentClickedAutoCompleteTextView between autoCompleteTextView1 and autoCompleteTextView2, just check their adapter ...
public void onItemClick(AdapterView> adaptView, View view, int position, long id) {
AutoCompleteTextView currentClickedAutoCompleteTextView;
if( adaptView.getAdapter()==autoCompleteTextView1.getAdapter() )
currentClickedAutoCompleteTextView = autoCompleteTextView1;
else
currentClickedAutoCompleteTextView = autoCompleteTextView2;
}