Skip to content
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

[Web] Add an initializing state to WebView #1126

Merged
merged 2 commits into from
Apr 13, 2022

Conversation

bentrengrove
Copy link
Collaborator

Fixes #1122

Copy link

@arriolac arriolac left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -250,6 +250,10 @@ internal fun WebContent.withUrl(url: String) = when (this) {
* See [Loading] and [Finished].
*/
sealed class LoadingState {
/**
* Describes a WebView that has not yet loaded for the first time.

Choose a reason for hiding this comment

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

Don't forget to update Finished comment

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good spotting, thank you!

@bentrengrove bentrengrove merged commit 2261a41 into main Apr 13, 2022
@bentrengrove bentrengrove deleted the ben/webview_loading_start branch April 13, 2022 22:48
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.

WebView - loadingState is initialized with the LoadingState.Finished
3 participants