1

How would one do that and is it a good idea?

The idea is to save and restore the multiple objects stored within the adapter.

Edit: Basically I've got an ArrayAdapter containing multiple objects added as follows

adapter.add ( object );

I'd like to be able to save and restore the adapter so I can use it as

setListAdapter ( adapter );

I suppose it would be possible to create an ArrayList and iterate through that when I save / restore, but that seems like an extra step

4

0 回答 0