In my activity, there is a scenario where the user can click the back button before the activity is loaded. This back button click needs to be handled.
What I basically do is:
// Back Button Handling Code
// Detect Premature Exit
If prematureExit = true then
Activity.Finish
end if
When...
I have 2 activities - Main and actPage2. Now I have a condition that when its met, the main activity should end and start the second activity(actPage2).
My problem is the code runs even after Activity.Finish line. The only way it works is when i add return after the activity.finish or use Else...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.