Felix
Felix

Reputation: 33

In android how to store EditText values in ArrayList

I am manually creating the EditText in for loop. How can i store all the values in ArrayList in android.

Upvotes: 1

Views: 6094

Answers (1)

ngesh
ngesh

Reputation: 13501

ArrayList<String> arryList = new ArrayList<String>();  
 arryList.add(editText.getText().toString()); 

this should help..

Upvotes: 3

Related Questions