No it's not - I've tried without it and when I click on an item it doesn't do anything :/
On Jun 18, 6:43 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > Hi, > > You need to remove your OnItemClickListener. The AutoCompleteTextView > will do that automatically, you are just interfering with it. > > > > > > On Wed, Jun 18, 2008 at 9:31 AM, Julka <[EMAIL PROTECTED]> wrote: > > > hi, > > I am using the AutoCompleteListView - it's displaying the hints but > > once the hint is selected the text from the TextView vanishes along > > with the popup menu... > > Please help me quickly :) > > Kisses, > > Julia > > > P.S. This is the code I use: > > > textHint = (AutoCompleteTextView) > > findViewById(R.id.search_auto_compl); > > textHint.setAdapter(adapter); > > textHint.setThreshold(1); > > textHint.setOnItemClickListener(new > > AdapterView.OnItemClickListener(){ > > public void onItemClick(AdapterView av, View v, int i, long > > l) > > { > > textHint.performCompletion(); > > } > > }); > > -- > Romain Guywww.curious-creature.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---