android - View show's error in List View -


i have prolblem list view.i have placed edittext in listview entering data list of items in list view.i have took data edittext row row listview.\

i can see 5 row in listview , next reows need scroll list view.

the problem arise here can took data listview upto 5 rows view means of took valuse form edittext in list.

but when comes 6th row shows null pointer exception plced identify edittext.(textview decatered_load = (textview) vlvtopup.findviewbyid(r.id.etconfirmdecaterednumber);) point of error arise @ here.

        (int = 0; < lvconfirmdecater.getadapter().getcount(); i++) {                  hashmap result = (hashmap) lvconfirmdecater.getitematposition(i);                 view vlvtopup;                 vlvtopup = lvconfirmdecater.getchildat(i);                  textview decatered_load = (textview) vlvtopup                         .findviewbyid(r.id.etconfirmdecaterednumber);                  textview decatered_reason = (textview) vlvtopup                         .findviewbyid(r.id.etconfirmdecateredreason);                  textview nondecatered_load = (textview) vlvtopup                         .findviewbyid(r.id.etconfirmnondecaterednumber); 

so note error increased number of rows in list can view upto 10 can took data edit text upto 10.after shows error.

did have idea .why didnt identfy view


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -