I want to show a list with dividers, and want to collapse all the groups(dividers) after loading.
I have found one attribute collapsedDividers in the listView, but don't know which value should I set. I have tried to input the group name, but failed. Can anyone give me some advise? Thx!
This thread was answered during direct phone call, but for the benefit of others, collapsedDividers is the right attribute to set. It needs to be set to the "value" of the divider attribute. You would need to create an array in Java and then set the collapsedDividers to that, if you need to collapse multiple dividers.
Unfortunately there is no way to automatically collapse all dividers automatically.