How to show popup of an AutoCompletationBinding by code

Issue #819 new
created an issue


I'm looking for a way to show the Autocompletion popup with the full list of suggestions when the textfield is empty. This should happen when the user clicks the textfield or presses the down key.

This's the code i use to bind autocompletion:

AutoCompletionBinding<String> accountIdBinding = TextFields.bindAutoCompletion(accountIdEditText, accountIdsArrayList);

The whole accountIdsArrayList should show on the autocomplete popup when the textfield is empty.

Best regards,

Comments (8)

  1. Klaus Rheinwald

    I have something ready to test:

    • Popup shows on key down
    • A small down arrow is added to CustomTextFields automatically. Clicking it shows the popup.

    PM me, if you're interested.

  2. Log in to comment