android - String List array search for a string -


im having problems searching through list array trying find string , storing string variable called name

            private list<string> listview_array1 = new arraylist<string>();     private list<string> listview_array2 = new arraylist<string>();     private list<string> listview_array3 = new arraylist<string>();                      string name1 = null;      if(listview_array1.contains("the")) {           //assign value name1               system.out.println(name1);     } 

documentation friend. in general first line of question of how use class it's docs.

http://developer.android.com/reference/java/util/arraylist.html

as question want indexof method. details on page above.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -