This will all be fixed in cupcake. But why do you need to call
performCompletion() yourself? There is no reason to do so.

On Fri, Jan 30, 2009 at 3:43 AM, oliver <[email protected]> wrote:
>
> hi,
> i'm having a problem when using the performCompletion method on an
> AutoCompleteTextView.
> when i start typing the suggestions work fine (an entry is
> highlighted). as soon as i type enough characters so that no match is
> possible anymore, the suggestion list disappears (which is ok).
> when i know delete some characters so the suggestion list appears
> again nothing will be selected (even though it will still narrow down
> it's hits the more characters i type again)
> now the problem:  in an onKey listener i check if the suggestions are
> showing (isPopupShowing) and if so i try to call performCompletion.
> now the AutoCompleteListener finds out that nothing is selected and
> replaces my content with "".
>
> does anybody know of a way
> - how to re-enable the selection on the suggestion list ?
> - or how to find out if anything is selected at all? in that case i
> would not call the performCompletion method
>
> thnx!
>
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to