Hey i want to create an edittext and a listview. this listview contains some strings, i want to be able to search these strings the same time the user enters the input
like
Cat
Dog
Monkey <-
Squirrel
when the user then types M it picks out the above and only shows that one like
--- Shows ---
Monkey
but i dont wanna search the start letter only i wanna keep searching as he types, like if he types as below it shows nothing.
--- Typed ---
Mok
--- Shows ---
nothing
i was thinking about doing in it a onTextChanged but i dont know how to make the search function, do you know if there is any tutorials out there? or do anyone know how i need to do
like
Cat
Dog
Monkey <-
Squirrel
when the user then types M it picks out the above and only shows that one like
--- Shows ---
Monkey
but i dont wanna search the start letter only i wanna keep searching as he types, like if he types as below it shows nothing.
--- Typed ---
Mok
--- Shows ---
nothing
i was thinking about doing in it a onTextChanged but i dont know how to make the search function, do you know if there is any tutorials out there? or do anyone know how i need to do