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,566
  • 12
  • 59
  • 97

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,042
  • 2
  • 19
  • 20