Re: [android-developers] android:stateNotNeeded not work
The documentation says "**may** not be called" (emphasis mine.) It
does not say that the method **will** not be called.
On Mon, Dec 28, 2009 at 12:43 AM, James Wang <jameswangcnln@gmail.com> wrote:
> Hi,
> SDK reference says "If this attribute is set to "true",
> onSaveInstanceState() may not be called and onCreate() will be passed
> null instead of the Bundle — just as it was when the activity started
> for the first time."
> I verified it is not true. No matter what value I set stateNotNeeded,
> onSaveInstanceState() always gets called!
>
> Is this a bug?
>
> James
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
Romain Guy
Android framework engineer
romainguy@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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home