App crashes when i get all value from all edittext from listview
<p>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</p>

<p>my code to get values is like below.</p>

<pre><code> for (int k = 0; k &lt; 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


                    }
</code></pre>