Skip to content

Show suggestion on dynamic suggestion item addition #142

@TwunTee

Description

@TwunTee

I am trying get suggestion list from the server when the user enters a text. I am using onQueryTextListener onQueryTextChange callback to trigger a network call and once the suggestion list is fetched I am adding it to suggestion list using addSuggestion. The problem i am facing is that the suggestion list is not opening up even though a valid suggestion exists unless the user types it a next character.

Example Scenario:

  1. User enters Java
  2. Fetching data from network which gives Java, Javascript
  3. Suggestion view is not opening up unless user enters "S" which then shows the suggestion as Javascript

What i want is that as soon as suggestion is added rerun the suggestion open or call a function which refreshes/opens the suggestion list.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions