Storing screens using RandomAccess

wl

Well-Known Member
Licensed User
Longtime User
Hi,

As we know you should provide a way an Activity can store itself when it is removed from memory by Android en restore this data when the screen gets reloaded.

My activity contains a scrollview with some panels (each containing ome edittexts and buttons). I keep a list of a type I created (one instance for each panel). The type contains references to the edittexts etc ...

Now my question: would I be able to just store this list in a randomaccess file and reload it when needed, or: will all custom types will be stored (as well as the text properties of the edittexts referenced in the custom type) ?

Thanks !
 

wl

Well-Known Member
Licensed User
Longtime User
Hi Erel,

I was aware of the existance of the state manager, but I once looked at it and it seems it saves the state of specific properties.

Hence my question: if the randomaccess class can write an object: how 'deep' will it save an edittext for example ?

Tx
 
Upvote 0
Top