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

Add a way to get specific constraint to animate components. #19

Open
muukii opened this issue Jun 23, 2021 · 4 comments
Open

Add a way to get specific constraint to animate components. #19

muukii opened this issue Jun 23, 2021 · 4 comments

Comments

@muukii
Copy link
Collaborator

muukii commented Jun 23, 2021

UI often runs animations with updating the constant value of the constraint.
Mondrian API is a faster way to get the whole layout, but still not have a way to get one of the constraints which would be used in animation.

@ozgur-nent
Copy link

hey! thank you for this great library! i would like to know if there is a way to update a constant value for now. is it impossible for now?

@muukii
Copy link
Collaborator Author

muukii commented Jul 28, 2021

@ozgur-nent
thanks.
For now, we can find a constraint we needed from LayoutBuilderContext. but it's hard.

would you give me your detailed use case?

@ozgur-nent
Copy link

@muukii thank you for your answer. i wanna change top space of a view (to hide a view when user scroll the collectionview to bottom)

@muukii
Copy link
Collaborator Author

muukii commented Aug 4, 2021

@ozgur-nent I see, could you paste your example layout code? I'd like to know what layout blocks you're using.

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

No branches or pull requests

2 participants