Re:: [android-developers] Destroy WebView without leaking window
Have you tried subclassing WebView and calling super.destroy() from onDetachedFromWindow()?
22.06.2012 14:07 пользователь "Pent" <support@apps.dinglisch.net> написал:
-- If I have a WebView showing a javascript alert dialog, I can't find a
way to leave the current activity (the one with the WebView) without
getting the dreaded
"activity blah has leaked window
com.android.internal.policy.impl.PhoneWindow$DecorView@41463258 that
was originally added here"
because the dialog is still showing.
Anyone any tips ? I tried everything I could think of to get rid of
the dialog first.
TIA,
Pent
--
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
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