Hi All,

       I have made one app in which i have used ExpandableListView to
make the tree structure. In that i have keep some nodes empty (Only
parent having no child) & some with child nodes.

       Now the scenario is that when i click on the parent node, if it
has the child then it is expanded, otherwise it starts the new
activity. That part is done.

     But I want to make the app in such a way that, if I click on any
node, & if any previously selected node is expanded, then it should be
collapsed (on clicking on that node). I am not able to find any setter
method, like setExpanded(boolean), for doing so.

      So please help me in this matter. Any help would be appreciated.

Regards.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to