I have a listview with tickboxes, which uses an Adapter and which works well.
And I know how to make a whole list expandable.
But, it it possible to have just a single item expandable, or does it have to be the whole list?? If so, how is it done?
I have a listview with tickboxes, which uses an Adapter and which works well.
And I know how to make a whole list expandable.
But, it it possible to have just a single item expandable, or does it have to be the whole list?? If so, how is it done?
You would need to use Lists of one item each. Unfortunately there is no SDK widget that handles the special case you need.
You can insert (or remove) the 'child' items in the right place within your adapter's data set when the 'parent' is clicked using a normal ListView.