problem with finish() :Android
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.
onPause and onDestroy will be called after finish
精彩评论