维护国家 [英] Maintaining State
本文介绍了维护国家的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我从水平到垂直旋转,我的屏幕
我输入的所有文本cleared.How,以保持状态。
When I rotate my Screen from horizontal to vertical All the text I have entered is cleared.How to mainTain the state.
推荐答案
看<一个href=\"http://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState%28android.os.Bundle%29\"相对=nofollow>的onSaveInstanceState()。
这篇关于维护国家的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文