Newbie question.
I modified the Two Activities example to see if I could learn how to call multiple activities without an event.
I copied Activity2, modified it slightly and named it Activity3.
I was able to call multiple activities by using the click event of multiple buttons.
But how do you call multiple activities without ANY event?
Under certain conditions I want to get data from the user by means of multiple activities.
Of course, I could use panels, but the consensus from my searches indicate that multiple Activities is the proper way.
When I invoke multiple Activities in the code below, it ignores Activity2 and goes directly to Activity3.
From other forum content, somehow this seems right.
However, what is the proper way of calling multiple activities without an event so that every Activity is invoked in the proper sequence?
I've searched the forum a lot but realize that I don't know how to frame the question or the search because what is covered in the content that I found in the searches does not really address this problem.
I modified the Two Activities example to see if I could learn how to call multiple activities without an event.
I copied Activity2, modified it slightly and named it Activity3.
I was able to call multiple activities by using the click event of multiple buttons.
But how do you call multiple activities without ANY event?
Under certain conditions I want to get data from the user by means of multiple activities.
Of course, I could use panels, but the consensus from my searches indicate that multiple Activities is the proper way.
When I invoke multiple Activities in the code below, it ignores Activity2 and goes directly to Activity3.
From other forum content, somehow this seems right.
However, what is the proper way of calling multiple activities without an event so that every Activity is invoked in the proper sequence?
I've searched the forum a lot but realize that I don't know how to frame the question or the search because what is covered in the content that I found in the searches does not really address this problem.
B4X:
Sub Activity_Create(FirstTime As Boolean)
Dim DoIt As Boolean=True
Activity.LoadLayout("1")
If DoIt Then
CallSubDelayed2(Activity2, "ShowList", "Activity2 title")
CallSubDelayed2(Activity3, "ShowList", "Activity3 title")
End If
End Sub