I have 2 activities, and i want to switch between then, without re-recreating them from scratch ( onCreate ) every time.
So, activity A has a flip button, and activity B also has this button.
At this time, If i startActivity(A) from B, first is called onCreate and then onResume.
The problem is that i want this behaviour:
- enter app point: on create for activity A -> flip button
- on create for B -> flip button
- on resume for A -> flip button
- on resume for B -> flip button
- on resume for A ...