views:

32

answers:

1

Hallo all,

I have a ListView, which contains an EditText in each of it's row. I also have an Array.The length of the Array==the Nr of the rows in the ListView.

I want to store the user input (the text in the EditText) to the Arrray. E.g, if i type some text in the EditText in the first row of the ListView, i want the text to be stored in Array[0]. But how can i detect to which row the EditText belongs to? I can detect the possition of the row if the row contains a RadioGroup, but not a EditText.

What if i first type some text in the EditText and sometime later i want to update mein Input? How can i update it?

Thanks a lot!

A: 

EditText extends Text which extends View. So you should be able to use ID's or Tag's don't you ?

Allisone
Thank you very much!
TianDong