In my game application I have several different activities that all can be accessed by pressing a button from the main menu activity. Now I only finish() the main menu activity when you exit the application.
But I was wondering if I should be finishing the invidual different activities when I return to main menu?
Does it make that much of a difference? Right now since I am not finishing the activity won’t it just go back to the existing activity or is it creating a new one every time I go from the menu to the activity?
Thanks.
coming back from activity using back key finished that activity and created new one when you call it using intent again.
So if you are coming from all activities using back key to main menu activity so you only need to call finish to exist the app (if main menu activity is the first Activity while opening the app)