This seems to be the order. B.onPause() -> A.onStart() -> A.onResume() ->B.onStop() - >B.onDestroy().
which makes sense! On May 12, 10:43 am, Vikram <vikram.bodiche...@gmail.com> wrote: > I have two activities A and B. A is in the stopped mode and B is > running. When I invoke finish() on B, A.onStart() and A.onResume() are > being invoked before B.onStop() and B.onDestroy(). > > Is this normal behavior? I find this a little strange! I want to > cleanup stuff before I hand over control to B. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en