1

I want to use Jeff S. example for sectioned listview with headers.

But I want to use more complex item view.

Can you suggest me which approach is best to do this. I found two ways

  1. Put information in Map<String,String> item = new HashMap<String,String>(); using item.put() - example here

2.Using getView on ArrayAdapter (without overriding other methods ) - example here

Which way is better?

Thanks

Community
  • 1
  • 1
Jovan
  • 4,684
  • 13
  • 64
  • 98

1 Answers1

0

Depending on the complexity of your listitems it might be better to write your own adapter by extending BaseAdapter. This link has a nice tutorial on how to write your own adapters.

Lars
  • 4,082
  • 2
  • 20
  • 20