I did read your site posts before deciding how to saving data when
rotating, but the problem is onRetain() isn't called, for example,
when you set the emulator to destroy activities immediately and then
press 'Home'. OnSave() on the other hand *is* called. Because of
this, I've decided to
As the docs say, the onRetainNonConfigurationInstance() should only be used
as an optimization, not to replace a working implementation of the normal
onSaveInstanceState() et al mechanism. (The latter is the only thing that
can be done in the case where an app's process needs to be killed or its
Al wrote:
My app uses colour on some of the strings it writes to the TextView.
The problem I'm having is when I open/close the keyboard, I'm forced
to save the coloured data as Strings, which means it loses formatting.
The Bundle class doesn't support saving Objects so I've tried writing
it
3 matches
Mail list logo