0

Hello I have implemented listview where i used one edittext in listview,and i am getting all the values from all edittext but i am getting following error and aoo crashes

my code to get values is like below.

 for (int k = 0; k < imagelist.getCount(); k++) {
                        EditText et;
                        Log.v("aaaaaa"," sss "+k);
                        vv = imagelist.getChildAt(k);

                             et = (EditText) vv.findViewById(R.id.pimgqty);//getting error at this line


                    }
John
  • 65
  • 2
  • 10

1 Answers1

0

Just Create one model class and in that create one varible to save ediitext Value.and then traverse that list you will get all ediitext values

John
  • 65
  • 2
  • 10