Sunday, October 2, 2011

[android-developers] Fragment Rotation and WebView

Hello guys, in my design I have a FragmentActivity (FA) with a
ListFragment (LF). When user clicks on an item, a new fragment
composed of a webview with some information is shown, when a the
mobile is in portrait and a FragmentDialog is shown when the mobile is
in landscape. After some times I go through portrait to landscape, I
analyzed the memory with the eclipse MAT, and found multiple instance
of my FragmentActivity. It seems related to the WebView, since if I no
longer use the webview the issue disappear. So my questions are:

1. Best way to manage the rotation
2. what s wrong with the webview?

Note: I want to rotate only the fragment but not the ListFragment

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


Real Estate