magillus / ConstraintSetChangesTest

Simple project showing Changes of ConstraintSet value as part of mutable state in JetpackCompose.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ConstraintSetChangesTest

Simple project showing Changes of ConstraintSet value as part of mutable state in JetpackCompose.

Version:

    implementation("androidx.constraintlayout:constraintlayout-compose:1.0.0-rc02")

Issue

The issue seems related to 2 invlidation of the Composable function and rendering with new ComposableSet and with previous one. Some UI widgets do not render correctly, even after few times tapping (reloading) on same constraint set.

Issue visible on Device:

issue_on_device.mp4

Issue visible on Emulator:

issue_on_emulator.mp4

About

Simple project showing Changes of ConstraintSet value as part of mutable state in JetpackCompose.

License:MIT License


Languages

Language:Kotlin 100.0%