Home > Software engineering >  How to manage cyclic returns on android programming [closed]
How to manage cyclic returns on android programming [closed]

Time:09-17

This is my problem : After going a long forward in the Android app and after coming back with a back button, how should we manage and change the corresponding activities and views?

CodePudding user response:

You can call finish() in an activity to terminate the current activity and go to previous one.

Can your question be more specific if this does not answer your question?

CodePudding user response:

just call this method.

@Override
public void onBackPressed() {
    super.onBackPressed();
}
  • Related