Hello all,
I am trying to determine exactly what happens when the screen
orientation changes.
(What I mean is, what happens to the lifecycle of an app when the user
slides the screen out.)

Reason:
 I show a dialog in my app.
 If the user slides the screen out, the app crashes with
'View not attached to window manager error.'

Is onPause called or something else?

I'm thinking if I can slip a progressdialog.dismiss(); into an
override, I'll
be able to eliminate that particular element when the screen changes.


Thanks,
Josh Beck

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to