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

[Improvement] introduce ScrollState#safeScroll #898

Merged

Conversation

Tomoyuki-TAKEZAKI
Copy link
Contributor

Issue

Overview (Required)

I introduced a method ScrollState#safeScroll which is suggested in the comment https://github.com/DroidKaigi/conference-app-2022/pull/878/files#r990602724

Screenshot

No changed in behavior, so no screenshot.

@github-actions github-actions bot temporarily deployed to deploygate-distribution October 10, 2022 01:47 Inactive
@@ -418,6 +417,21 @@ class ScreenScrollState(
}
}

suspend fun safeScroll(
Copy link
Member

Choose a reason for hiding this comment

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

I didn't think it was our class. I think we can delete the safeScroll and use the implementation as the default implementation of the scroll method. Because it is scroll, so I think it can not be the critical feature.
What do you think?

But I think it is better than the current implementation. So please let me merge this for now!

Copy link
Contributor Author

@Tomoyuki-TAKEZAKI Tomoyuki-TAKEZAKI Oct 11, 2022

Choose a reason for hiding this comment

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

Thank you for your comment!
I've opened a PR for the rename and simplification #902

Sorry for bothering you 🙏🏻

@takahirom
Copy link
Member

Thank you for your cooperation!

@takahirom takahirom merged commit 9fbbddc into DroidKaigi:main Oct 10, 2022
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