阅读背景:

由于仅更改配置,在重新创建活动时,保留的片段是否有效?

来源:互联网 

I'm trying to retain a fragment not only when activity is recreated due to configuration change, but also in cases when it's just, you know, recreated for some other reason, like when user has left it and returned back a second later. Apparently, it doesn't work, because in the following codeI'm trying to retain a fragment not only when a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: