Code example for WebView

Methods: getTitle

0
 
		@Override 
		public void onPageFinished(final WebView view, final String url) {
			super.onPageFinished(view, url);
			if (mActivity instanceof BaseSupportActivity) {
				mActivity.setTitle(view.getTitle());
				((BaseSupportActivity) mActivity).setProgressBarIndeterminateVisibility(false);
			} 
		} 
 
		@Override 
		public void onPageStarted(final WebView view, final String url, final Bitmap favicon) {
			super.onPageStarted(view, url, favicon);
			if (mActivity instanceof BaseSupportActivity) {
				((BaseSupportActivity) mActivity).setProgressBarIndeterminateVisibility(true);
			} 
		} 
 
		@Override 
		public void onReceivedSslError(final WebView view, final SslErrorHandler handler, final SslError error) {
			if (mPreferences.getBoolean(PREFERENCE_KEY_IGNORE_SSL_ERROR, false)) {