activity.finish

  1. D

    Android Question Crash upon Activity.Finish

    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...
  2. mcqueccu

    Android Question Activity.finish not working as expected

    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...
Top