• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Two different ListViews from same data source?

 
Matt Novak
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to create two ListViews with same "people" inside, but first would have names and secound would have addresses.

I made the first list and it works OK:



And here's the override from class Person that returns name:


I can't create two overrides for toString...so how can I use SAME "array" to draw additional ListView with addresses? :-/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic