On Fri, Jan 28, 2011 at 4:45 PM, Moto <[email protected]> wrote:
> I'm trying to keep my activity calling flow simple for the user. Always one
> instance of the activity on the history stack.
>
> So using flag FLAG_ACTIVITY_REORDER_TO_FRONT, is perfect! but there is a
> slight issue.
>
> The activity is brought to the front but the onCreate() is not called if
> Activity is already started. Makes sense, but I want the behavior to be that
> it calls onCreate().

That is like saying that red is not blue, and you want to know how to
make red be blue, because you always want blue.

onCreate() is called when the activity is created, period. It is not
called at any other time.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://bit.ly/smand1 and http://bit.ly/smand2

-- 
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

Reply via email to