开发者

getting error while changing the orientation of the mobile when page is loading its components in android?

i have one page opened in which i have taken information from the user... but if i change the orientation of the mobile all the information filled in the textview disappears... how would i make information saved 开发者_Python百科in the textview no matter how many times user changes orientation... by the away i am using android:theme="@android:style/Theme.Dialog" in all activities... please some body suggest something...

Thanx


better try out this way iam not sure in my application this was working....

protected void onSaveInstanceState(Bundle outState) {

super.onSaveInstanceState(outState);

Toast.makeText(MainActivity.this, "Saveinstance invoked", Toast.LENGTH_SHORT).show();

}

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜