Android Question What is the correct way?

vecino

Well-Known Member
Licensed User
Longtime User
Hi, the correct mode is 1, 2, 3 or none?

1.
B4X:
Sub btExit_Click
  Activity.Finish
  CallSubDelayed2 ("another activity", "some sub", "some value")
End If
2.
B4X:
Sub btExit_Click
  CallSubDelayed2 ("another activity", "some sub", "some value")
  Activity.Finish
End If
3.
B4X:
Sub btExit_Click
  CallSubDelayed2 ("another activity", "some sub", "some value")
End If
 

MarkusR

Well-Known Member
Licensed User
Longtime User
i hade some trouble with just the sub name as string and used also SubExists
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…