I need a textinput with autocomplete support. Users will enter part of a city name. My APP will search in a list of cities and show a list of cities which match the entered text.
It is something like https://github.com/apasccon/SearchTextField
This should be a pretty trivial task. I’d look into listening to Observable changes from an input, and then searching through your list based on what the user has entered.
In addition to what Liam posted, I would like to suggest instead of using .addSubscriber(), which requires you to .removeSubscriber() yourself or your app will be leaking memory, you should go with .onValueChanged(), which automatically ties the lifetime of the subscription to the instance of the module. Like so: