I am getting this error when the device changes orientation:
Error: WebView.destroy() called while still attached
With this code:
@Override public void onDetachedFromWindow() { super.onDetachedFromWindow(); if (mWebView != null) { mWebView.destroy(); } }