Android Question INFORMATION: How do you hand your current information after you call other layouts?

Itila Tumer

Active Member
Licensed User
Longtime User
If you have activity which is Activity2 , and you are going for take/choise any data from your phone in galery or in anywhere. You should write in Sub Activity Create .I give you some part of my project.
If you write in Sub Activity Resume part. You 'll loose your current information if you are not saved.

B4X:
Sub Activity_Create(FirstTime As Boolean)
    Activity.LoadLayout("Edit")
    Activity.Title = "SQLiteLight2  Edit"
  
    If Activity2.CurrentIndex > -1 Then
        ShowEntry(Activity2.CurrentIndex)                'show the first entry
    End If

End Sub


But some parts can be effected by it. I figure out later.
 
Last edited:
Top