This is the correct and normal behavior of static fields :) If you need to reset them, you will have to do so manually.
On Tue, Mar 31, 2009 at 10:37 PM, wacamoe <waca...@gmail.com> wrote: > > Hello all, > I have noticed in my application(s) that after a call to > Activity.finish() that the static variables that I declared in my > classes still hold the values that they were changed to during the > activity's life cycle. Upon the re-launch of the activity, the program > does not re-instantiate the variables as declared or set them to the > default java behavior. Is there something that I can do to cause this > to happen, other than re-setting every static variable in my > application? > > > > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---