开发者

problem with finish() :Android

开发者 https://www.devze.com 2023-01-10 12:54 出处:网络
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().

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号