I have an AutoCompleteTextView in my app which works. I have successfully created an onClickItemListener. The question is how to grab the text the
AutoCompleteTextView
onClickItemListener
try this:
txtPurpose.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView> arg0, View arg1, int arg2, long arg3) { Purpose selected = (Purpose) arg0.getAdapter().getItem(arg2); txtPurpose.setTag(selected); } });