Skip to content

Add a separate webview to display a loading screen#17

Merged
manuq merged 1 commit into2022.09.04-endlessfrom
T34576-add-view-switcher
Mar 21, 2023
Merged

Add a separate webview to display a loading screen#17
manuq merged 1 commit into2022.09.04-endlessfrom
T34576-add-view-switcher

Conversation

@dylanmccall
Copy link

We will use a ViewSwitcher to switch between the loading webview and the main webview. The main webview is displayed automatically after it has finished loading a page.

https://phabricator.endlessm.com/T34576

@dylanmccall dylanmccall force-pushed the T34576-add-view-switcher branch 16 times, most recently from f453d67 to fd8280a Compare March 18, 2023 01:28
We will use a ViewSwitcher to switch between the loading webview and
the main webview. The main webview is displayed automatically after
it has finished loading a page.

https://phabricator.endlessm.com/T34576
@dylanmccall dylanmccall force-pushed the T34576-add-view-switcher branch from fd8280a to 51f2107 Compare March 18, 2023 02:32
@dylanmccall dylanmccall marked this pull request as ready for review March 21, 2023 01:23
@dylanmccall dylanmccall requested a review from manuq March 21, 2023 01:23
public void onPageFinished(WebView view, String url) {
Log.i(TAG, "MainPythonWebViewClient onPageFinished");
displayMainWebView();
// FIXME: We should use postVisualStateCallback here...
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@manuq manuq merged commit b3c326e into 2022.09.04-endless Mar 21, 2023
@manuq manuq deleted the T34576-add-view-switcher branch March 21, 2023 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants