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

[Jetcaster] Fix recomposition loop in verticalGradientScrim #946

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

alexvanyo
Copy link
Contributor

Fixes #945

@alexvanyo alexvanyo requested a review from a team as a code owner August 17, 2022 23:57
@alexvanyo
Copy link
Contributor Author

@riggaroo I found this while working on #947 , thought I'd fix it up!

Copy link
Collaborator

@riggaroo riggaroo left a comment

Choose a reason for hiding this comment

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

thanks alex!

@riggaroo riggaroo merged commit 56822fa into android:main Aug 18, 2022
@alexvanyo alexvanyo deleted the av/jetcaster-recomp-loop branch August 18, 2022 17:19
vfishv added a commit to vfishv/compose-samples that referenced this pull request Sep 25, 2022
* commit '5bc3451b11f9aae111b8a6dca0199a317c997a2b': (331 commits)
  Updating to safe flow collection with collectAsStateWithLifecycle() (android#970)
  [Jetsurvey] Converted to use Material 3 (android#954)
  [JetNews] Remove invalid comment (android#966)
  [Jetnews] Update to Material3 (android#964)
  Compose latest (android#961)
  Disable auto creation of deps PRs for renovate (android#960)
  Version Catalog support  (android#950)
  Fixing: Remove Unused If-Else condition (android#884)
  [Jetcaster] Fix recomposition loop in verticalGradientScrim (android#946)
  Fix readme image size (android#926)
  Fix a11y bugs (android#914)
  Update Androidx Lifecycle deps to v2.5.1 (android#932)
  Update plugin com.android.test to v7.2.2 (android#931)
  [Crane] Fix destinations not in list issue. (android#938)
  Update main | Compose 1.2.1 | Compiler 1.3.0 | Kotlin 1.7.10 (android#924)
  Update accompanist_version to v0.25.1
  added licence to shapes
  added shapes for material
  Added a fix to not show back button on permanent drawer, added Material shapes
  [All] Updating to Compose 1.2 (android#905)
  ...
@Iamlooker
Copy link

Maybe using a lamda like so, can help reducing the recompositions if we use a animation.

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.

[Bug]: Jetcaster Modifier.verticalGradientScrim has a recomposition loop
3 participants