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

259 compose toggleable view for tv and mobile #262

Merged
merged 9 commits into from
Oct 6, 2023

Conversation

StaehliJ
Copy link
Contributor

@StaehliJ StaehliJ commented Oct 5, 2023

Description

The goal of this PR is to provide to the integrators some usefull helpers and composable to handle toggleable content. For example to create a toggleable player controls.

Changes made

  • Create new DelayedVisibilityState.
  • Create ToggleableBox that handle interactions with touch and key event.

Checklist

  • Your branch has been rebased onto the main branch.
  • APIs have been properly documented (if relevant).
  • The documentation has been updated (if relevant).
  • New unit tests have been written (if relevant).
  • The demo has been updated (if relevant).
  • All pull request status checks pass.

@StaehliJ StaehliJ linked an issue Oct 5, 2023 that may be closed by this pull request
7 tasks
Copy link
Member

Choose a reason for hiding this comment

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

Typo: extensions

val interactionSource = remember {
MutableInteractionSource()
}
val isDragged = interactionSource.collectIsDraggedAsState().value
Copy link
Collaborator

Choose a reason for hiding this comment

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

⚠️ [detekt] <detekt.UnusedPrivateMember> reported by reviewdog 🐶
Private property isDragged is unused.

@StaehliJ StaehliJ merged commit 7760ce9 into main Oct 6, 2023
4 checks passed
@StaehliJ StaehliJ deleted the 259-compose-toggleable-view-for-tv-and-mobile branch October 6, 2023 07:30
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.

Compose toggleable view for TV and Mobile
3 participants