The itinero app lets users create and plan a trip with friends. First, however, the user has to provide some basic information, including the names of "trip mates", the name of the country or countries to be visited, and the departure and return dates (as shown in the following screenshot).
Entering text using mobile phones is much more difficult than when using a desktop or laptop keyboard; for this reason it is always a good habit to provide the user with suggestions and autocomplete.
The following steps detail how to implement an autocomplete mechanism for text input.
Note
In order to avoid long code listings, the steps don't refer to the itinero app specifically. If you want to take a look at the app implementation, refer to the GitHub branch at https://github.com/GiorgioNatili/itinero/tree/features/ch06 or clone it in your development environment using the following command:
$ git clone -b features/ch06 git: //github.com/GiorgioNatili...