views:

33

answers:

1

In an if statement, I have a finish() because I don't want the control to go any further. But, the app exits, but as I see from the logcat, the control goes beyond finish().

Maybe that's also the reason why a toast supposed to be displayed and some other GUI actions before finish() are not taking place?

Please advice.

+1  A: 

onPause and onDestroy will be called after finish

schwiz
onPause and onDestroy get called only when they are overriden in the current activity.
success_anil