Handling screen orientation changes in Android — am I doing it right?

You should try to use onSaveInstanceState(Bundle) to save your information as this will get called before the activity destroys itself on orientation change. I would try to use onRestoreInstanceState(Bundle) when getting the information back, but it should work on the onCreate() method too. (An example here How do I save an Android application's state?).

You should try to use onSaveInstanceState(Bundle) to save your information as this will get called before the activity destroys itself on orientation change. I would try to use onRestoreInstanceState(Bundle) when getting the information back, but it should work on the onCreate() method too. (An example here How do I save an Android application's state?) Keep in mind that the Bundle should be used to save primitive types.

If you want to pass a more complex object, you can try to pass a Parcelable object. (More info here prasanta-paul.blogspot.com/2010/06/andro...).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions