views:

12

answers:

0

Hello

I am currentry working on a project and need to display some data in an expandable list. This data might change during the lifespan of the activity.

I have the following setup:

ListMembersActivity that extends ExpandableListActivity and CustomExpandableListAdapter that extends BaseExpandableListAdapter to get the data and prepare it for the ExpandableList.

Now I realize that you can bind views to a database using an Adapter. However, I do not want to do this because the data might also come from a webservice. I need some kind of intermediary dataset to hold the data in question. Changes to this dataset should immediately be represented in the ExpandableList.

Whats the way to go here?

Thanks for any advice.