Android EditText with auto complete dropdown – control adapter options on each key press
I am trying to add an EditText field with autocomplete functionality
(in the form of a dropdown with a list of options that can be selected as the user types into the input box) to a popup dialog.
However, rather than simply have the autocomplete suggest options based on the input text,
I need to be able to control what is suggested on each key press, and update any adaptor options accordingly.