I am developing one android application. In which I have some Products and form to purchase that product. In the Order form I have one Edit Text as Product ( means product name) .
In my application user has to type Product name but I want to know that Is there any way that
the EditText field is autofilled with that particular Product like as in flipcart.
Any one knows then suggest me…
Thanks in advance…
When you want to populate it just call (after reading it in from the XML layout in this example):
If what you are looking for is an auto completion after they have started typing, then an
AutoCompleteTextViewis your best bet, replacing the EditText and providing the auto complete functionalityThere is an example of this over at the Android Developers website:
http://developer.android.com/guide/topics/ui/controls/text.html#AutoComplete