androidx / constraintlayout

ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
Apache License 2.0
1.07k stars 177 forks source link

[Compose] Unify internal MotionLayout calls #634

Closed oscar-ad closed 2 years ago

oscar-ad commented 2 years ago

There's now only one call to MultiMeasureLayout, so all public MotionLayout methods eventually call that method as well.

Fixed Modifier order warning: should be first optional parameter. Note that this may cause some breakages.

oscar-ad commented 2 years ago

This way, manipulating the layout internally is more consistent and works over the same API (see MotionProgress).

For consistency, LayoutInformationReceiver now has all Link related methods (for both ConstraintLayout and MotionLayout).