Android Question Is the StateManager State File Global?

Guardian17

Active Member
Licensed User
Longtime User
If I use
B4X:
StateManager.loadStateFile
in an opening Sub in Main, (Activity_Create or Activity_Resume), does the State File and its contents remain Global for all Subs thereafter, or does each Sub need to loadStateFile in order to use any saved StateManager variables?

And I assume that any new Activity that is started via StartActivity will have to perform its own loadStateFile if it needs to use any saved StateManager variables ... ?
 
Last edited:
Top