• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

position in getView not changing

 
John Deegan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having some trouble displaying the contents of an ArrayList to a ListView. I finally figured out that the position variable in getView is not changing.

What ends up happening is that the first item of the list displays, then none of the others do, so it is possible that the position variable is not my only problem.

Thanks in advance!

 
John Deegan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just figured it out! Turns out the problem was that the row layout was not displaying correctly. It was

so I think each row was showing up underneath the other. I changed it to

and that seems to do what I want.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic