N Noize Member Licensed User Longtime User Oct 20, 2014 #1 Hi coders, I'm trying to show a panel with various EditText, Name, Email, password, etc. Also I have a button to save settings on click I'm trying to save settings with a button because I can't save this settings on Activity_Pause, here's my code: Code: Copy Sub profsave_Click StateManager.SaveState(Activity, "pnlprof") Log (StateManager) End Sub pnlprof has 5 edittext with 5 imgview to edit and save settings, I tried to use "main" as Activity and panel directly but on B4A log shows "null", is it possible to save settings by this way? or I'm wrong?, Tnx!
Hi coders, I'm trying to show a panel with various EditText, Name, Email, password, etc. Also I have a button to save settings on click I'm trying to save settings with a button because I can't save this settings on Activity_Pause, here's my code: Code: Copy Sub profsave_Click StateManager.SaveState(Activity, "pnlprof") Log (StateManager) End Sub pnlprof has 5 edittext with 5 imgview to edit and save settings, I tried to use "main" as Activity and panel directly but on B4A log shows "null", is it possible to save settings by this way? or I'm wrong?, Tnx!
Erel B4X founder Staff member Licensed User Longtime User Oct 21, 2014 #2 You can save the state this way. You can also pass the panel instead of the activity as the first parameter. Upvote 0
You can save the state this way. You can also pass the panel instead of the activity as the first parameter.