Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

listview not displaying contents properly

 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello.
when i add element it is not getting displayed in the listview....i want to display an image in image for the particular string value....the size of string is same as size of images array..it should display the image for the string value...but here it is displaying the image i select over other values created earlier....this is the problem only when i load a listview and then try adding record...it gives unexpected output

please suggest...any idea
 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the adapter class which im calling from list activity is
 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
at line 76 i hav printed
System.out.println("getView " + position + " " + convertView);
which gives like following in logcat

iam really not unserstanding this...
please suggest if anyone get through

thankyou in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic