Hi,
I need help with how to determine if an AutocompleteEditText dropdown has been dismissed without any item being clicked.
As an example:
I have an activity with 2 AutocompleteEditTexts. Both are set as INPUT_TYPE_NONE. Both are filled with SetItems(list).
The problem is that when the dropdown is shown, if the user doesn't click an item and clicks elsewhere, the dropdown closes, but the focus doesn't change. If the user then clicks on the sameAutocompleteEditText the dropdown doesn't show again. I was trying to handle this through the FocusChanged event, with no luck.
I did find this: https://developer.android.com/refer...idget.AutoCompleteTextView.OnDismissListener)
Not sure if that applies here and if I could use it though.
Thanks for any help.
I need help with how to determine if an AutocompleteEditText dropdown has been dismissed without any item being clicked.
As an example:
I have an activity with 2 AutocompleteEditTexts. Both are set as INPUT_TYPE_NONE. Both are filled with SetItems(list).
The problem is that when the dropdown is shown, if the user doesn't click an item and clicks elsewhere, the dropdown closes, but the focus doesn't change. If the user then clicks on the sameAutocompleteEditText the dropdown doesn't show again. I was trying to handle this through the FocusChanged event, with no luck.
I did find this: https://developer.android.com/refer...idget.AutoCompleteTextView.OnDismissListener)
Not sure if that applies here and if I could use it though.
Thanks for any help.