开发者

How works a deviceturn in Android

开发者 https://www.devze.com 2023-02-01 19:28 出处:网络
I would like to know how works a turn of Android device (from the point of view of t开发者_StackOverflow社区he OS). I\'m interested in this action, because my Android program can not save and RIGHT re

I would like to know how works a turn of Android device (from the point of view of t开发者_StackOverflow社区he OS). I'm interested in this action, because my Android program can not save and RIGHT restore its state after any turn of device (I use it with OnSave... and OnRestore... methods), I've learned almost all tutorials, but in spite of that, I can't find the mistake. Thank you.


A very detailed information on this matter is located in Android documentation here.

You most likely need this section: Retaining an Object During a Configuration Change

0

精彩评论

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

关注公众号