Question about modules

doraneko

Member
Licensed User
Longtime User
when another module was called from sub method in main module and return again by another module's activity.finish, where the next step begins ?
1) next line of sub method in main module
2) Sub Activity_Create in main module
3) other in main module
Please teach me.:sign0085:
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
You are asking about activities I assume.

Calling StartActivity sends a message to the messages queue. The next activity doesn't start immediately. Your current code finishes, current activity pause event is raised and then the next activity is started.
When the second activity finishes the first activity resume event is raised. If the first activity was destroyed then it will be first created.
 
Upvote 0
Top