At the present, I have an EditText, so I can add whatever I want to add to a list, and then dynamically show in the ListView.
I want to restrict what item I add to the ListView. I was thinking about a database, where all the items stored. When I start to type something in the EditText, for example "Appl..." I want the app to suggest the items stored in the db, like "Apple", "Apple Pie" etc. And when I click on the "Apple" it should add to the ListView.
I know this is possible, since I already saw this in other apps, but I don't know what it's called or where can I see tutorials about it.