This discussion is archived
1 Reply Latest reply: Oct 19, 2012 4:26 PM by Joe Huang RSS

how to collapse all dividers in the list

940981 Newbie
Currently Being Moderated
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!
  • 1. Re: how to collapse all dividers in the list
    Joe Huang Journeyer
    Currently Being Moderated
    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.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points