@Override public void onPageStarted(WebView view, String url, Bitmap favicon) { super.onPageStarted(view, url, favicon); RhoExtManager.getImplementationInstance().onNavigateStarted(view, url); if (mWebView.getConfig() != null && mWebView.getConfig().getBool("enablePageLoadingIndication")) RhodesActivity.safeGetInstance().getWindow().setFeatureInt(Window.FEATURE_PROGRESS, 0); }
@Override public void onPageFinished(WebView view, String url) { Logger.profStop("BROWSER_PAGE"); // Set title String title = view.getTitle(); RhodesActivity.safeGetInstance().setTitle(title); if (mWebView.getConfig() != null && mWebView.getConfig().getBool("enablePageLoadingIndication")) RhodesActivity.safeGetInstance() .getWindow() .setFeatureInt(Window.FEATURE_PROGRESS, RhodesActivity.MAX_PROGRESS); RhoExtManager.getImplementationInstance().onNavigateComplete(view, url); super.onPageFinished(view, url); }