Loading a WebView URL before splashscreen finishes

One way we can achieve this is by rather than opening a new activity for webview,
In WelcomeActivity.java itself add webView and imageView to the layout and make webview to invisible or Gone.

On open of WelcomeActivity initialize webView and set custom WebViewClient. Override onPageFinished() in your Custom webViewClient and in this method make webview visible and imageView to Gone.

Leave a Comment