I am fetching the itemnames from database and append to the edittext (only one editext contains more itemnames) in customized listview. Now I changed values in edittext. How to get all values what I changed in editext.
For example, x,y,z… itemnames comes from database I append with edittext in customized listview now I am changed x,y,z. To a,b,c. Now I want a,b,c(new values) in string array
my code
View vi = convertView;
vi = inflater.inflate(R.layout.editmainmenulist, null);
EditText text = (EditText) vi.findViewById(R.id.editmaimenu);
text.append(itemnames[position]);//here i append so many itemnames append to edittext
How can I get changed edittext Values in what are the values are changed means it print all vaules. I try after changed method it print only one name
You should use
onTextChanged()which informs you about changes in EditText.