This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes some issues with ExpandableList Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "some issues with ExpandableList" Watch "some issues with ExpandableList" New topic
Author

some issues with ExpandableList

Gustavo Santos
Ranch Hand

Joined: Jan 22, 2009
Posts: 40
Hi,

I've looked up into some forums and found nothing that deals with the things I wanna implement in my ExpandableList, which are:

1) I want to expand only one item (row) at a time (closes it whenever I want to expand a new item)
2) when I click on the item I want to change the text on it and add an image in that row
3) I need a button inside every item so that it can do a specific task based on its row's data
4) I tried to see if it has a kind of onListItemClick method but there isn't... how can I get the position of the item that was selected?

if you know how to accomplish ANY of these tasks I would really appreciate.

Thanks a lot guys!

--gustavo
Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

you learn from API Demos , it covers wide range of examples and i'm sure you will find solution to your list of problems.

you need to learn from Expandable List Example 1 , and More examples out there on Android.com

 
 
subject: some issues with ExpandableList
 
Similar Threads
JTree expansion & collapse programatically
ExpandableList problem
ExpandableList Auto refresh without touch
How to expand spring?
ExpandableList Auto refresh without touch