hackbod wrote: > A static variable is almost certainly not going to do what you want -- > one of the big reasons for all of this is to be able to restore state > if the process is killed, and if you are putting stuff in a static > variable then that will all go away with the process when it is > killed.
Actually, he said an "inner static Parcelable class", not a static variable. He's using it as the response from the Activity onSaveInstanceState(), holding his View's state inside it, if I understand his solution correctly. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

