oh - that may be the case :)
thank you
:)
On Jun 18, 7:04 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> AutoCompleteTextView does work without doing this. Are you clicking
> the item with your mouse or pressing enter? I think there was a bug in
> M5 where the touch clik (== with the mouse on the emulator) would not
> work.
>
>
>
>
>
> On Wed, Jun 18, 2008 at 10:00 AM, Julka <[EMAIL PROTECTED]> wrote:
>
> > 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
>
> --
> 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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---