StartActivity & Activity.Finish

devlei

Active Member
Licensed User
Longtime User
How can I achieve this?
I want to both StartActivity(Main) and Activity.Finish the current one.
Why?
From most of my Activity's I have a Home/Main icon to take me back to Home/Main page via StartActivity(Main). When I click the 'Exit/Close' button on Home/Main page (via Activity.Finish), I don't want to go back to that Activity, but exit the App.
Can anyone help?
 

devlei

Active Member
Licensed User
Longtime User
Thanks, Klaus, it seems to work great so far!

Will doing that have any effect on performance?
 
Upvote 0
Top