Hi,
this is what I want to do:
But of course this is not possible.
But wherre can I place such a question before closing an activity? I want the user to decide if he wants to save his changes or not.
Thank you
this is what I want to do:
B4X:
Sub Activity_Pause (UserClosed As Boolean)
If UserClosed Then
If Msgbox2("Speichern?","?","Ja","","Nein",Null)=DialogResponse.Positive Then
ToastMessageShow ("gespeichert",True)
End If
End If
End Sub
But of course this is not possible.
But wherre can I place such a question before closing an activity? I want the user to decide if he wants to save his changes or not.
Thank you