Hi,

I am working in a file browser app (for studying purposes) and I have
a collection of data (ArrayAdapter) which can come from a LONG RUNNING
search. If the user rotates the screen I don't want to have to start
all the search again, as it would be a terrible user experience.

Files are serializable, so I could store the results into the
savedInstanceState bundle (I limit the search result to up to 500 File
objects). But is there any more elegant approach? A part from that
ArrayAdapter I also have 2 other Strings which I am already saving
into savedInstanceState.

What is the recommend limit to store into savedInstanceState? Should I
extract the absolutePath() of those files and then recreate them on
onCreate()?

Any help would be much appreciated.

Cheers

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to