MondrianLayout icon indicating copy to clipboard operation
MondrianLayout copied to clipboard

Add a way to get specific constraint to animate components.

Open muukii opened this issue 3 years ago • 4 comments

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.

muukii avatar Jun 23 '21 08:06 muukii

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?

ozgur-nent avatar Jul 23 '21 08:07 ozgur-nent

@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?

muukii avatar Jul 28 '21 03:07 muukii

@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)

ozgur-nent avatar Aug 04 '21 11:08 ozgur-nent

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

muukii avatar Aug 04 '21 14:08 muukii