mabbas007 / TagsEditText

Android EditText for view tags or chips
Apache License 2.0
694 stars 124 forks source link

How to show all suggestions when user clicks or focuses edittext? #16

Open sunnymopada opened 8 years ago

sunnymopada commented 8 years ago

after adding one tag,

tagsEditText.showDropDown() is not showing the suggestions . Am I missing something?

sunnymopada commented 8 years ago

@mabbas007 Can you look at this? This is priority for me. Thanks

mabbas007 commented 8 years ago

Try TagsEditText.setThreshold(0)

sunnymopada commented 8 years ago

I tried that, but it did not work for me, After adding one tag I would like to show dropdown on onclick or onfocuschange, It is showing drop down only if TagsEditText is empty!

@mabbas007 According to source of autocompletetextview.

    public void setThreshold(int threshold) {
         if (threshold <= 0) {
          threshold = 1;
    }

    mThreshold = threshold;
}