开发者

How to stop a background thread on keyboard flip in android

How can I stop a background thread on keyboard flip开发者_JAVA百科 in android?


When the keyboard flip occurs, the current activity is killed and restarted in the new orientation. So I would imagine you would want to stop the thread on the onPause() or onDestroy() method.

The following StackOverflow question might be relevant: Activity restart on rotation Android

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜