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();
}
精彩评论