I have a rotation problem. The screen (panel) contents consist of two labels, three buttons and a ScrollView. On rotation, while all the other elements are restored, the contents of the ScrollView are lost. The ScrollView contains a number of CheckBoxes, each having associated checktext and labeltext, very similar to the posted CheckBox example. What would I have to code into RESUME and PAUSE in order the have the contents of the ScrollView restored? The ScrollView contents are dynamic, in that they are created from arrays containing header information previously downloaded from a mail server. This would change with each call to the server.
I have searched the forum and also read Chapters 9 and 15.1 in the Beginners Guide. I know that I have to SAVE in Sub Activity_Pause, and LOAD in Sub Activity_Resume. What I don’t know is what the code would look like in order to accomplish this.
With respect to StateManager, the code in Sub Activity_Pause seems to be a constant, while the code in Sub Activity_Resume is set by the user. If StateManager is to be used, what code should be entered into Sub Activity_Resume?
The Beginners Guide certainly covers the theory, but I need to see a code example before any of this will be clear to me. Help in this regard would be greatly appreciated.
:sign0104:
I have searched the forum and also read Chapters 9 and 15.1 in the Beginners Guide. I know that I have to SAVE in Sub Activity_Pause, and LOAD in Sub Activity_Resume. What I don’t know is what the code would look like in order to accomplish this.
With respect to StateManager, the code in Sub Activity_Pause seems to be a constant, while the code in Sub Activity_Resume is set by the user. If StateManager is to be used, what code should be entered into Sub Activity_Resume?
The Beginners Guide certainly covers the theory, but I need to see a code example before any of this will be clear to me. Help in this regard would be greatly appreciated.
:sign0104:
Last edited: