CodePudding user response:
Suggested that the first to learn Android related video again to write codeCodePudding user response:
According to your demand, between activity and activity with startActivity method to start the registration screen, after the success of the registration screen determine whether finish method makes the current activity from the back stackCodePudding user response:
Intent intent0=new Intent (landing. And registered. Class);
StartActivity (intent0);
finish();
If (registration) {
Intent intent0=new Intent (registered. This, log in. The class).
StartActivity (intent0);
finish();
}