This repository was archived by the owner on Dec 27, 2024. It is now read-only.
This repository was archived by the owner on Dec 27, 2024. It is now read-only.
ConstraintLayoutReference.id is internal in alpha version #841
Open
Description
Hello, I am using ConstraintLayout Compose version 1.0.1-alpha07 and I noticed that the property id
of ConstraintLayoutReference
is now internal, whereas it was public in version 1.0.1. This change makes it difficult to create different constraint sets dynamically, as I have to use createRefFor
or createRefsFor
functions instead of directly referencing the ids of the references. Is there a reason for making this property internal? If not, could you please consider making it public again, or provide a way to create constraints statically with a modifier like Modifier.layoutId
? Thank you for your attention and your great work on this library.