File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes listview not displaying contents properly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "listview not displaying contents properly" Watch "listview not displaying contents properly" New topic
Author

listview not displaying contents properly

Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 213
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

Joined: Feb 10, 2012
Posts: 213
the adapter class which im calling from list activity is
Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 213
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: listview not displaying contents properly