I have two activties: activity_main, activity_display
in the main_activity user enters his/her name and presses the toggle button to display. that takes the user to display_activity page where the result is displayed. if the user finds that he/she has entered the wrong info they can go back and edit.
here is where the problem starts after pressing the toggle button - display it goes to display_activity and displays but when I press "back" button I'm restarting the whole (first) main_activity again... no values are present... even the toggle button that needs to be set to "reset" is again showing "display".
should i use something else instead of
startActivity(intend1);
i want to resume the (first) activity main not restart everything