Flip between two activites [ force onResume ]

Put your problem here if it does not fit any of the other categories.

Flip between two activites [ force onResume ]

Postby Cumatru » Tue Jul 10, 2012 12:15 pm

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 ...
Cumatru
Junior Developer
Junior Developer
 
Posts: 11
Joined: Sat Mar 12, 2011 4:19 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 15 guests