-Practice-_AndroidSearchView
-
Get the Color's List from URL
-
Parse to ArrayList ** toString of Color Object returns color (red, green, blue, ..)
-
Initial all view objects. (ListView is included)
-
Create ArrayAdapter and set ArrayList for ListView
-
Adapt the ListView with ArrayAdapter
-
Set SearchView Listener (textChange, submit)
-
If textChange or submit then perform filterColorList(String nameLike)
-
Notify ListView for data changed by its adapter object
9.If restore button is clicked then restore all color data and notify ListView for data changed by its adapter object