On Wed, Feb 25, 2009 at 1:36 PM, marmor <[email protected]> wrote:
>
> Hi,
>
> I think there's a bug involving using Tabs and Landscape/Portrait
> switching.
>
> Using an app with TabHost, tab_1 is shown, onCreate and then onResume
> are called.
> When switching to tab_2: onPause(1), onCreate(2), onResume(2) are
> called.
> When switching to landscape mode: onPause(2), onDestroy(2), onDestroy
> (1) are called to close the app, and then onCreate(1), onCreate(2),
> onPause(2) are called.
>
> I think this is the bug, android had created tab_1 but should have
> then called onResume(1), onPause(1).

I don't think there is any guarantee that onCreate() will always be
followed by onResume(), especially since in this case the activity
isn't even showing, so why should it be resumed?

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