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

ConstraintLayoutReference.id is internal in alpha version #841

Open
iZakirSheikh opened this issue Oct 16, 2023 · 0 comments
Open

ConstraintLayoutReference.id is internal in alpha version #841

iZakirSheikh opened this issue Oct 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@iZakirSheikh
Copy link

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.

@iZakirSheikh iZakirSheikh added the enhancement New feature or request label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants