I want to make the web-view refresh if the external page is closed Here is the code of the fragment where the webview is :
public boolean shouldOverrideUrlLoading(WebView view, String url) {
if(url.contains("ex03"))
{
view.getContext().startActivity(
new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
return true;
} else {
view.loadUrl(url);
return true;
}
}