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

Update wear compose scrollaway with timeout changes #2090

Closed
wants to merge 1 commit into from

Conversation

rajat4064g
Copy link
Collaborator

Adding animations to scrollAway modifier.

TimeText will appear after 3s when scrolling stops in a list of items.

@yschimke yschimke changed the title Update wear comose scrollaway with timeout changes Update wear compose scrollaway with timeout changes Mar 5, 2024
@@ -50,7 +50,7 @@ internal class ScaffoldState {
Box(
modifier = Modifier
.fillMaxSize()
.scrollAway {
.scrollAway(true) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we use named params?

Is this meant to be defaulted on? Would false be a better default? Or move this up to a param for AppScaffold/ScreenScaffold?

Copy link
Collaborator

@yschimke yschimke left a comment

Choose a reason for hiding this comment

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

LGTM - but I don't think we should change the default at least yet.

@yschimke
Copy link
Collaborator

@rajat4064g let me know if you are waiting on me for anything.

@rajat4064g
Copy link
Collaborator Author

@rajat4064g let me know if you are waiting on me for anything.

There are more changes that need to be dropped in this branch regarding syncing the timer for TimeOut animations between material PositionIndicator and new ScrollAway. Will merge this PR when that is finalised.

@rajat4064g rajat4064g marked this pull request as draft March 11, 2024 12:59
@yschimke
Copy link
Collaborator

Going to close as it's got merge conflicts, reopen once it's ready for review.

@yschimke yschimke closed this May 20, 2024
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.

None yet

2 participants