I am facing the same problem. > Can you call dismissDropDown() right after you call setText()? This will not work, because the "setText" method is delayed, calling dismissDropDown() right after setText will not do anything, because the dropdown will be not visible yet. I tried every event (afterTextChanged, onTextChanged, beforeTextChanged...) but they all fire sooner than the dropdown is shown. Maybe subclass the AutoCompleteTextView and find the right method to override? Can anyone please help with this?
My scenario - I have a button that instantly sets the text of an autocompletetextview, and then the dropdown shows up and displays the same one entry - which makes no sense, because the text is already set... Thanks. Daniel On Sep 3, 7:27 am, Saurav Mukherjee <[email protected]> wrote: > Thanks Jack for the reply.... > > On Thu, Sep 3, 2009 at 2:11 AM, Jack Ha <[email protected]> wrote: > > > Can you call dismissDropDown() right after you call setText()? > > i did do this, but no results... it still drops down. is there any other > concrete way to do this? > > > > > -- > > Jack Ha > > Open Source Development Center > > ・T・ ・ ・Mobile・ stick together > > The coverage you need at the price you want > > > The views, opinions and statements in this email are those of > > the author solely in their individual capacity, and do not > > necessarily represent those of T-Mobile USA, Inc. > > > On Sep 2, 9:10 am, Saurav Mukherjee <[email protected]> > > wrote: > > > hi all... > > > i have done the blocking of the drop down list with dismissDropDown() but > > > wen ever i do a settext on the autocompletetextview, the list drops down > > > with the matched texts... i dont want that. i have set the input type of > > the > > > autocompletetextview to TYPE_NULL, but still no result... > > > > plz tell me a way to block the drop down.. i am controllin the drop down > > > with a button... thats properly working... its only that wen i do a > > settext > > > on it, the list drops down. how can i stop this. > > > > thanks in advance. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

