@Override
 public View onCreateView(
     LayoutInflater inflater, ViewGroup parentViewGroup, Bundle savedInstanceState) {
   View rootView = inflater.inflate(R.layout.fragment_noteview, parentViewGroup, false);
   WebView myWebView = (WebView) rootView.findViewById(R.id.noteView);
   CustomWebViewClient noteViewClient = new CustomWebViewClient();
   noteViewClient.attachWebView(myWebView);
   return rootView;
 }
 public void setAllowRedirect(WebView webView) {
   initWebViewClientIfNeeded(webView);
   mWvc.setBypassUrlChange(true);
 }
 public void setSSLNoSecure(WebView webView) {
   initWebViewClientIfNeeded(webView);
   mWvc.setBypassSSLErrors(true);
 }