ContentCatcher: Failed to notify a WebView
I am trying to open a webview inside my fragment. But I am getting the error ContentCatcher: Failed to notify a WebView. Below is the code for my onCreateView of my fragment @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.fragment_payment_gateway, container, false); webView=(WebView)rootView.findViewById(R.id.paymentwebview); WebSettings webSettings= webView.getSettings(); webSettings.setJavaScriptEnabled(true); webView.setWebViewClient(new WebViewClient() { @Override public
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.