Android Question StateManager & Panel & Edittext & Save button

Noize

Member
Licensed User
Longtime User
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:

B4X:
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!
 
Top