开发者

When the screen orientation changes the system will, by default, destroy the current activity and create a new one while preserving its state

I can not able to understand this sentence in android documention. Since it is saying

When the screen orientation changes the system will, by default, destroy the c开发者_运维问答urrent activity.

and it also saying

create a new one while preserving its state.

but actully it is contrary. How could it be? Can anybody explan to me.


Refer this Retaining an Object During a Configuration Change
And Activity restart on rotation Android where it discussed in detail

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜