I need a simple way without any Custom listAdapters to create a ListView with sections, or Categories.
Its important the the Categorie separator doesn’t count as a listItem, because i am using the my list items position in the onClick() so every item counts.
Is there an easy way to do this?
Thanks 🙂
If you want section headers in a standard ListView, you’re going to have to make your own adapter.
You could use an ExpandableListView, it sounds like exactly what you need.
EDIT
Ok, then you want to use MergeAdapter by CommonsWare. I just posted about it for someone else, it’ll work for you too. I even included instructions. 🙂
MergeAdapter Answer
Hope this helps!