Sub Process_Globals
Dim tbState As Boolean = False
End Sub
Sub Activity_Create
'load layout
Togglebutton1.Checked = tbState
End Sub
Sub Activity_Pause
tbState = ToggleButton1.Checked
End Sub
I wanted to use the module "StateManager" to save the state if the application closed, but do not know how to save the state of only one component and not the entire Activity
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.