I'm trying to have an auto complete text view to help users pick
contacts (ALMOST identical to the API demo for the autocomplete
contacts + hint). However, instead of setting the text into the
autocomplete "edit text" field, I want the name to appear somewhere
else (i.e. textview, listview, etc.).
What i want: So when a user clicks on a selection from the drop down
hint list, the name automatically appears in DIFFERENT textview.
Where I am:
I'm currently using autoCompleteTextView.setOnItemClickListener, and
this works GREAT with "touchmode" (using my mouse). However, this does
not work when the DPAD_CENTER is clicked. Is this a bug? or do I need
to do something else?
What I've tried + problems:
- onKeyDown -> This isn't specific to the hint list created by
autocompletetextview. So this gets called anytime the user clicks the
- creating a class that extends autoCompleteTextView -> The only
method I can override is the setOnItemClickListener and I just
couldn't figure out what I needed to change.
Where I use it:
please help!! thanks in advance!