I am trying to delete Group when selected in my Expandable List and having the list refreshed after the delete occurred.
I took the source code from google:
I tried a couple of ways to delete it, but no success, anyone achieved that already?
Thanks, ray.
Answer for the second question (Add rows to a child & datastructure)
For the Datastructure:
Now to set it up you would do something like:
and so on...
Then, in the Adapter you would need to return the appropriate data.
For your question concerning rows: In your Google example, they return a TextView. You can however make your own Layout with whatever content you like. For example:
And then use this Layout in your Adapter. Instead of returning, say, a TextView, you'll just return this as a View:
So, i think that should get you going.
Also, please accept my answers if they satisfy you.
Cheers.