Skip to content

Add a separate webview to display a loading screen #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2023

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