I have object arraylist,I have to apply search operation on name basis.suppose there are 5 object in list which have names if I input in searchbox “a” then result should be “arun,ashok ..” all which name start by a ,but if I input “ar” then only “arun” should be result .Please
anyone help me how this type search aplly in arraylist.
I have object arraylist,I have to apply search operation on name basis.suppose there are
Share
Android is having AutoCompleteTextView. You have to bind your data to textview
Here is link http://developer.android.com/reference/android/widget/AutoCompleteTextView.html
Check this answer also it may help full