How to finish an activity and return to a varied location?
问题 My application implements an action which stretch upon 3-4 activities. the entry point to this process can be from different activities in the application. (HomeActivity, various displayActivities). I want to return to the starting activity once the last activity is finished successfully. Is there a best practice way to do it? thankyou. 回答1: You can use a global static boolean to help you with this (in the example SomeClass.IsClosingFlow ), Plus, you should define each activity to "mark" if