Our code example for today is about a very useful Android widget called AutocompleteTextView. This widget looks like an EditText but shows completion suggestions automatically while the user is typing.
The list of suggestions is displayed in a drop down menu from which the user can choose an item to replace the content of the edit box with.
I recently played with this widget for my project, but it requires that the auto-complete suggestions must come from SQLite database.
Here's a video I shoot to show you the final output of our code.